CMakeLists.txt (667B)
1 # Copyright (c) the JPEG XL Project Authors. All rights reserved. 2 # 3 # Use of this source code is governed by a BSD-style 4 # license that can be found in the LICENSE file. 5 6 if(NOT MSVC) 7 option(JPEGXL_ENABLE_PLUGIN_GDKPIXBUF "Enable plugin for GdkPixbuf image loading library" ON) 8 if(JPEGXL_ENABLE_PLUGIN_GDKPIXBUF) 9 add_subdirectory(gdk-pixbuf) 10 endif() 11 endif() 12 13 option(JPEGXL_ENABLE_PLUGIN_GIMP210 "Enable plugin for GIMP 2.10.x series" ON) 14 if(JPEGXL_ENABLE_PLUGIN_GIMP210) 15 add_subdirectory(gimp) 16 endif() 17 18 option(JPEGXL_ENABLE_PLUGIN_MIME "Enable image/jxl declaration for shared-mime-info" ON) 19 if(JPEGXL_ENABLE_PLUGIN_MIME) 20 add_subdirectory(mime) 21 endif()