mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-07-31 05:02:26 -04: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)
|
if (${OPENMP_FOUND} OR APPLE)
|
||||||
add_library (wsjt_fort_omp STATIC ${wsjt_FSRCS})
|
add_library (wsjt_fort_omp STATIC ${wsjt_FSRCS})
|
||||||
target_link_libraries (wsjt_fort_omp ${FFTW3_LIBRARIES})
|
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
|
set_target_properties (wsjt_fort_omp
|
||||||
PROPERTIES
|
PROPERTIES
|
||||||
COMPILE_FLAGS "${OpenMP_C_FLAGS}"
|
COMPILE_FLAGS "${OpenMP_C_FLAGS}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user