2022-06-24 06:29:07 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2024-03-05 18:23:38 +08:00
|
|
|
index 985f5f5..bf6600e 100644
|
2022-06-24 06:29:07 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2024-03-05 18:23:38 +08:00
|
|
|
@@ -476,6 +476,10 @@ if (CYGWIN OR WIN32)
|
2022-06-24 06:29:07 +08:00
|
|
|
target_compile_definitions (glog PUBLIC GLOG_NO_ABBREVIATED_SEVERITIES)
|
|
|
|
endif (CYGWIN OR WIN32)
|
|
|
|
|
|
|
|
+if ((MSVC) AND (MSVC_VERSION GREATER_EQUAL 1914))
|
2022-12-03 01:14:32 +08:00
|
|
|
+ target_compile_options(glog INTERFACE "$<$<NOT:$<COMPILE_LANGUAGE:CUDA>>:/Zc:__cplusplus>")
|
2022-06-24 06:29:07 +08:00
|
|
|
+endif()
|
|
|
|
+
|
2024-03-05 18:23:38 +08:00
|
|
|
set_target_properties (glog PROPERTIES PUBLIC_HEADER "${GLOG_PUBLIC_H}")
|
|
|
|
|
|
|
|
target_include_directories (glog BEFORE PUBLIC
|