swh:1:snp:c7c108084bc0bf3d81436bf980b46e98bd338453
Raw File
Tip revision: b86cfe5cb703ffd375351b7bb3f837d819f5d939 authored by Tobias Ellinghaus on 02 February 2016, 11:36:06 UTC
Remove RELEASE_NOTES from release tarballs
Tip revision: b86cfe5
FindColordGTK.cmake
SET(COLORDGTK_FIND_REQUIRED ${ColordGTK_FIND_REQUIRED})

include(Prebuilt)

include(LibFindMacros)
libfind_pkg_check_modules(COLORDGTK colord-gtk)
foreach(i ${COLORDGTK_LIBRARIES})
	find_library(_colordgtk_LIBRARY NAMES ${i} HINTS ${COLORDGTK_LIBRARY_DIRS})
	LIST(APPEND COLORDGTK_LIBRARY ${_colordgtk_LIBRARY})
	unset(_colordgtk_LIBRARY CACHE)
endforeach(i)
set(COLORDGTK_LIBRARIES ${COLORDGTK_LIBRARY})
unset(COLORDGTK_LIBRARY CACHE)

if (COLORDGTK_FOUND)
  set(COLORDGTK ON CACHE BOOL "Build with libcolord-gtk support.")
endif (COLORDGTK_FOUND)
back to top