mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20: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
|
||||
)
|
||||
|
||||
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})
|
||||
|
||||
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 9)
|
||||
|
Loading…
Reference in New Issue
Block a user