mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
fix compile flags containing semicolon
This commit is contained in:
parent
9a2cc2ef83
commit
20dccf5082
@ -14,7 +14,8 @@ add_library(ngcore ${NGCORE_LIBRARY_TYPE}
|
||||
version.cpp
|
||||
)
|
||||
|
||||
target_compile_options(ngcore PUBLIC "${NG_COMPILE_FLAGS}")
|
||||
string(REPLACE "|" ";" ${NG_COMPILE_FLAGS} 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)
|
||||
target_link_libraries(ngcore PUBLIC stdc++fs)
|
||||
|
Loading…
Reference in New Issue
Block a user