This fixes the problem with gfortran compiler receiving the -Xclang option on Mac when it shouldn't.

This commit is contained in:
Alex Lelievre
2021-09-28 08:59:03 -07:00
committed by Bill Somerville
parent 00eb4d59ca
commit bd8992f6f2
+1 -1
View File
@@ -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}"