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:
Bill Somerville 2015-01-31 11:37:01 +00:00
parent dade66253c
commit 8c377b9c87

View File

@ -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().