We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5250cb5 commit ae13cfbCopy full SHA for ae13cfb
1 file changed
CMakeLists.txt
@@ -66,7 +66,12 @@ target_include_directories(${PROJECT_NAME} INTERFACE
66
$<INSTALL_INTERFACE:include>
67
)
68
69
-target_compile_options(${PROJECT_NAME} INTERFACE $<$<CONFIG:Debug>:-Wall -Wextra>)
+if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
70
+ target_compile_options(${PROJECT_NAME} INTERFACE $<$<CONFIG:Debug>:/W4>)
71
+else()
72
+ target_compile_options(${PROJECT_NAME} INTERFACE $<$<CONFIG:Debug>:-Wall -Wextra>)
73
+endif()
74
+
75
76
if(ORYX_KVDB_INSTALL)
77
include(GNUInstallDirs)
0 commit comments