File: FindColord.cmake

package info (click to toggle)
darktable 1.4.2-1%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 19,940 kB
  • ctags: 22,185
  • sloc: ansic: 181,925; cpp: 32,612; lisp: 4,681; xml: 4,046; sh: 2,002; makefile: 395; python: 315; perl: 114; awk: 110; asm: 46
file content (12 lines) | stat: -rw-r--r-- 313 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
SET(COLORD_FIND_REQUIRED ${Colord_FIND_REQUIRED})

include(Prebuilt)

if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
  include(FindPkgConfig)
  pkg_check_modules(COLORD colord)
endif (CMAKE_SYSTEM_NAME STREQUAL "Linux")

if (COLORD_FOUND)
  set(COLORD ON CACHE BOOL "Build with libcolord support.")
endif (COLORD_FOUND)