mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 14:10:34 +05:00
fix cmake bug (didn't apply NG_COMPILE_FLAGS)
This commit is contained in:
parent
fe1a615996
commit
2ae76d9a86
@ -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_replace_sep "${NG_COMPILE_FLAGS}")
|
||||||
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