We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 041c0e6 commit 3ce24ebCopy full SHA for 3ce24eb
build/CMakeLists.txt
@@ -34,7 +34,7 @@ PROJECT(liboauthcpp C CXX)
34
ENABLE_LANGUAGE(C)
35
36
# Disable some annoying, unnecessary Windows warnings. Enable unwinding for exception handlers.
37
-IF(WIN32)
+IF(MSVC)
38
ADD_DEFINITIONS(-D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -EHsc)
39
SET(CMAKE_CXX_FLAGS "-D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS")
40
ENDIF()
0 commit comments