summaryrefslogtreecommitdiffstats
path: root/third_party/jpeg-xl/plugins/CMakeLists.txt
blob: bff1bff29dff924662d5a9fc95ccecb02e5b05e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright (c) the JPEG XL Project Authors. All rights reserved.
#
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

if(NOT MSVC)
  option(JPEGXL_ENABLE_PLUGIN_GDKPIXBUF "Enable plugin for GdkPixbuf image loading library" ON)
  if(JPEGXL_ENABLE_PLUGIN_GDKPIXBUF)
    add_subdirectory(gdk-pixbuf)
  endif()
endif()

option(JPEGXL_ENABLE_PLUGIN_GIMP210 "Enable plugin for GIMP 2.10.x series" ON)
if(JPEGXL_ENABLE_PLUGIN_GIMP210)
  add_subdirectory(gimp)
endif()

option(JPEGXL_ENABLE_PLUGIN_MIME "Enable image/jxl declaration for shared-mime-info" ON)
if(JPEGXL_ENABLE_PLUGIN_MIME)
  add_subdirectory(mime)
endif()