Fix some cmake build system issues (#6147)
* [cmake] Switch to find_package for TIFF - Included in cmake 3.5 and later - Provides better configuration messages * Add missing TIFF library to rtgui and rtexif * Removed unnecessary quotes so that cmake sees the list as a list * Add OpenMP to rtengine if OpenMP is enabled
This commit is contained in:
@@ -487,7 +487,7 @@ pkg_check_modules(LCMS REQUIRED lcms2>=2.6)
|
||||
pkg_check_modules(EXPAT REQUIRED expat>=2.1)
|
||||
pkg_check_modules(FFTW3F REQUIRED fftw3f)
|
||||
pkg_check_modules(IPTCDATA REQUIRED libiptcdata)
|
||||
pkg_check_modules(TIFF REQUIRED libtiff-4>=4.0.4)
|
||||
find_package(TIFF 4.0.4 REQUIRED)
|
||||
find_package(JPEG REQUIRED)
|
||||
find_package(PNG REQUIRED)
|
||||
find_package(ZLIB REQUIRED)
|
||||
|
||||
Reference in New Issue
Block a user