mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-21 19:55:20 -05:00
Fix "unable to find library -lwsjt_fort_omp" on OpenMP-unsupported-platform (by JG1UAA)
This commit is contained in:
parent
cab1bb8aed
commit
2e3cec2201
@ -1444,7 +1444,7 @@ set_target_properties (wsjtx PROPERTIES
|
|||||||
)
|
)
|
||||||
|
|
||||||
target_include_directories (wsjtx PRIVATE ${FFTW3_INCLUDE_DIRS})
|
target_include_directories (wsjtx PRIVATE ${FFTW3_INCLUDE_DIRS})
|
||||||
if (APPLE)
|
if ((NOT ${OPENMP_FOUND}) OR APPLE)
|
||||||
target_link_libraries (wsjtx wsjt_fort)
|
target_link_libraries (wsjtx wsjt_fort)
|
||||||
else ()
|
else ()
|
||||||
target_link_libraries (wsjtx wsjt_fort_omp)
|
target_link_libraries (wsjtx wsjt_fort_omp)
|
||||||
|
Loading…
Reference in New Issue
Block a user