fix cmake

This commit is contained in:
Matthias Hochsteger 2022-09-16 17:32:20 +02:00
parent 20dccf5082
commit fe1a615996

View File

@ -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)