Mac: set fftw3f_omp linker flags (#6406)
Sets linker flags for macOS for fftw3f_omp when OPTION_OMP==ON
This commit is contained in:
parent
89492228b4
commit
bab5516871
|
@ -488,6 +488,12 @@ endif()
|
|||
pkg_check_modules(LCMS REQUIRED lcms2>=2.6)
|
||||
pkg_check_modules(EXPAT REQUIRED expat>=2.1)
|
||||
pkg_check_modules(FFTW3F REQUIRED fftw3f)
|
||||
|
||||
#Set the appropriate FFTW flags on macOS
|
||||
if(APPLE AND OPTION_OMP)
|
||||
set(EXTRA_LIB "-L${LOCAL_PREFIX}/lib -lfftw3f_omp -lfftw3f -lm")
|
||||
endif()
|
||||
|
||||
pkg_check_modules(IPTCDATA REQUIRED libiptcdata)
|
||||
find_package(TIFF 4.0.4 REQUIRED)
|
||||
find_package(JPEG REQUIRED)
|
||||
|
|
Loading…
Reference in New Issue