mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-09-27 15:46:51 -04: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")
|
endif (_comp STREQUAL "single")
|
||||||
endforeach (_comp ${_components})
|
endforeach (_comp ${_components})
|
||||||
|
|
||||||
# If using threads, we need to link against threaded libraries as well.
|
# If using threads, we need to link against threaded libraries as well - except on Windows.
|
||||||
if (_use_threads)
|
if (NOT WIN32 AND _use_threads)
|
||||||
set (_thread_libs)
|
set (_thread_libs)
|
||||||
foreach (_lib ${_libraries})
|
foreach (_lib ${_libraries})
|
||||||
list (APPEND _thread_libs ${_lib}_threads)
|
list (APPEND _thread_libs ${_lib}_threads)
|
||||||
endforeach (_lib ${_libraries})
|
endforeach (_lib ${_libraries})
|
||||||
set (_libraries ${_thread_libs} ${_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
|
# Keep a list of variable names that we need to pass on to
|
||||||
# find_package_handle_standard_args().
|
# find_package_handle_standard_args().
|
||||||
|
Loading…
Reference in New Issue
Block a user