mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-24 11:50:33 +05:00
fix cmake
This commit is contained in:
parent
20dccf5082
commit
fe1a615996
@ -14,7 +14,7 @@ add_library(ngcore ${NGCORE_LIBRARY_TYPE}
|
|||||||
version.cpp
|
version.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
string(REPLACE "|" ";" ${NG_COMPILE_FLAGS} ng_compile_flags_replace_sep)
|
string(REPLACE "|" ";" "${NG_COMPILE_FLAGS}" ng_compile_flags_replace_sep)
|
||||||
target_compile_options(ngcore PUBLIC ${ng_compile_flags_replace_sep})
|
target_compile_options(ngcore PUBLIC ${ng_compile_flags_replace_sep})
|
||||||
|
|
||||||
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 9)
|
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 9)
|
||||||
|
Loading…
Reference in New Issue
Block a user