CMakeLists.txt: Remove a few useless symbols in a condition
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
parent
7b6e2165ba
commit
4f2f4a7fa9
|
@ -50,7 +50,7 @@ find_package(Threads)
|
|||
if (${IS_GNU} OR ${IS_CLANG})
|
||||
set(THREADS_PREFER_PTHREAD_FLAG TRUE)
|
||||
if (Threads_FOUND AND NOT MINGW)
|
||||
if (NOT ("${CMAKE_EXE_LINKER_FLAGS}" MATCHES "^-static"))
|
||||
if (NOT ("${CMAKE_EXE_LINKER_FLAGS}" MATCHES -static))
|
||||
include(FindOpenMP)
|
||||
if (OpenMP_CXX_FOUND)
|
||||
set(CMAKE_CXX_FLAGS "${OpenMP_CXX_FLAGS} ${CMAKE_CXX_FLAGS}")
|
||||
|
|
Loading…
Reference in New Issue