biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / graphics / pfstools / pfstools.patch
blobc678a25b01bd4843df82b2a79d447761a36ada06
1 --- a/CMakeLists.txt 2016-05-26 11:31:16.000000000 +0200
2 +++ b/CMakeLists.txt 2016-07-22 19:07:22.074669909 +0200
3 @@ -320,12 +320,12 @@
5 # ======== libexif ==========
7 -find_package(EXIF)
8 -if( NOT EXIF_FOUND )
9 - message( "EXIF library (libexif) not found. 'pfsalign' will not be compiled" )
10 -else( NOT EXIF_FOUND )
11 - message(STATUS "libexif library found.")
12 -endif( NOT EXIF_FOUND )
13 +find_package( PkgConfig REQUIRED )
14 +pkg_check_modules( MYPKG REQUIRED libexif IlmBase )
15 +if( MYPKG_FOUND )
16 + message( STATUS "libexif and IlmBase found." )
17 +endif( MYPKG_FOUND )
18 +include_directories( ${MYPKG_INCLUDE_DIRS} )
20 # ======== Config and sub dirs ===========