mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-21 19:55:20 -05:00
This fixes the problem with gfortran compiler receiving the -Xclang option on Mac when it shouldn't.
This commit is contained in:
parent
00eb4d59ca
commit
bd8992f6f2
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user