diff --git a/CMakeLists.txt b/CMakeLists.txt index 33f59f311..92722dcb7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1093,7 +1093,7 @@ target_link_libraries (wsjt_fort ${FFTW3_LIBRARIES}) if (${OPENMP_FOUND} OR APPLE) add_library (wsjt_fort_omp STATIC ${wsjt_FSRCS}) target_link_libraries (wsjt_fort_omp ${FFTW3_LIBRARIES}) - if (OpenMP_C_FLAGS) + if (OpenMP_C_FLAGS AND NOT APPLE) set_target_properties (wsjt_fort_omp PROPERTIES COMPILE_FLAGS "${OpenMP_C_FLAGS}"