--- CMakeLists.txt.orig 2024-02-24 09:22:45 UTC +++ CMakeLists.txt @@ -57,12 +57,12 @@ endif( HAS_BRANCH_PREDICTION ) # ======== Find bash ======= # TODO: What if the check fails -find_program (BASH_EXECUTABLE bash) +#find_program (BASH_EXECUTABLE bash) message( "Using bash: ${BASH_EXECUTABLE}" ) # ======== Find perl ======= -find_program (PERL_EXECUTABLE perl) +#find_program (PERL_EXECUTABLE perl) # XXX Isn't found in poudriere builds for some reasoson, providing it as an argument if( PERL_EXECUTABLE ) message( "Using perl: ${PERL_EXECUTABLE}" ) else( PERL_EXECUTABLE ) @@ -250,6 +250,9 @@ if( WITH_FFTW ) else( NOT FFTW_FOUND ) set( HAVE_FFTW3F 1 ) set( HAVE_FFTW3 1 ) + if( NOT "${FFTW_INCLUDE_DIRS}" STREQUAL "" ) + include_directories ("${FFTW_INCLUDE_DIRS}") + endif( NOT "${FFTW_INCLUDE_DIRS}" STREQUAL "" ) endif( NOT FFTW_FOUND ) else( WITH_FFTW )