aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4ec45f5..0e38725 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -197,6 +197,7 @@ endif()
197 197
198if (MSVC) 198if (MSVC)
199 target_compile_definitions(yue PRIVATE _SCL_SECURE_NO_WARNINGS) 199 target_compile_definitions(yue PRIVATE _SCL_SECURE_NO_WARNINGS)
200 target_compile_options(yue PRIVATE /Zc:__cplusplus)
200else () 201else ()
201 target_compile_options(yue PRIVATE -Wall -Wno-long-long -fPIC) 202 target_compile_options(yue PRIVATE -Wall -Wno-long-long -fPIC)
202 set_source_files_properties(src/3rdParty/colib/ljson.c PROPERTIES COMPILE_FLAGS "-std=c99") 203 set_source_files_properties(src/3rdParty/colib/ljson.c PROPERTIES COMPILE_FLAGS "-std=c99")