mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-22 04:11:16 -05:00
The CMake FFTW3 finder should not look for a threaded library on Windows
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4918 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
dade66253c
commit
8c377b9c87
@ -58,14 +58,14 @@ foreach (_comp ${_components})
|
||||
endif (_comp STREQUAL "single")
|
||||
endforeach (_comp ${_components})
|
||||
|
||||
# If using threads, we need to link against threaded libraries as well.
|
||||
if (_use_threads)
|
||||
# If using threads, we need to link against threaded libraries as well - except on Windows.
|
||||
if (NOT WIN32 AND _use_threads)
|
||||
set (_thread_libs)
|
||||
foreach (_lib ${_libraries})
|
||||
list (APPEND _thread_libs ${_lib}_threads)
|
||||
endforeach (_lib ${_libraries})
|
||||
set (_libraries ${_thread_libs} ${_libraries})
|
||||
endif (_use_threads)
|
||||
endif (NOT WIN32 AND _use_threads)
|
||||
|
||||
# Keep a list of variable names that we need to pass on to
|
||||
# find_package_handle_standard_args().
|
||||
|
Loading…
Reference in New Issue
Block a user