Ignore:
Timestamp:
Mar 22, 2019 11:36:51 AM (3 years ago)
Author:
knoop
Message:

Diasabed automati FFTW detection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/INSTALL/palm_installer_components

    r3721 r3807  
    258258
    259259# check for fftw
    260 find_package(FFTW)
    261 if(FFTW_FOUND)
    262    message(STATUS "\${PALM_PROGRAM_NAME} is using an external fftw library.")
    263    list(APPEND PALM_CPP_OPTIONS __fftw)
    264 else(FFTW_FOUND)
     260#find_package(FFTW)
     261#if(FFTW_FOUND)
     262#   message(STATUS "\${PALM_PROGRAM_NAME} is using an external fftw library.")
     263#else(FFTW_FOUND)
    265264   message(STATUS "\${PALM_PROGRAM_NAME} is using the buildin fft algorithm.")
    266 endif(FFTW_FOUND)
     265#endif(FFTW_FOUND)
    267266
    268267# compiler flag management
     
    297296endif()
    298297
    299 if(FFTW_FOUND)
    300    set(PALM_COMPILER_OPTIONS "\${PALM_COMPILER_OPTIONS} -I \${FFTW_INCLUDES}")
    301    set(PALM_LINKER_OPTIONS "\${PALM_LINKER_OPTIONS} \${FFTW_LIBRARIES}")
    302    set(PALMTEST_FFTW_INCLUDES "fftw: \"-I \${FFTW_INCLUDES}\"")
    303    set(PALMTEST_FFTW_LIBRARIES "fftw: \"\${FFTW_LIBRARIES}\"")
    304 endif()
     298#if(FFTW_FOUND)
     299#   list(APPEND PALM_CPP_OPTIONS __fftw)
     300#   set(PALM_COMPILER_OPTIONS "\${PALM_COMPILER_OPTIONS} -I \${FFTW_INCLUDES}")
     301#   set(PALM_LINKER_OPTIONS "\${PALM_LINKER_OPTIONS} \${FFTW_LIBRARIES}")
     302#   set(PALMTEST_FFTW_INCLUDES "fftw: \"-I \${FFTW_INCLUDES}\"")
     303#   set(PALMTEST_FFTW_LIBRARIES "fftw: \"\${FFTW_LIBRARIES}\"")
     304#endif()
    305305
    306306if(RRTMG_ROOT)
Note: See TracChangeset for help on using the changeset viewer.