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 3ab4e3e commit d866acbCopy full SHA for d866acb
1 file changed
CMakeLists.txt
@@ -7,6 +7,11 @@ if (APPLE)
7
enable_language(OBJCXX)
8
endif ()
9
10
+if (MSVC)
11
+ add_compile_definitions(
12
+ )
13
+endif ()
14
+
15
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
16
17
include(${PROJECT_SOURCE_DIR}/vcpkg/scripts/buildsystems/vcpkg.cmake)
@@ -75,6 +80,10 @@ add_library(SimpleGraphic SHARED
75
80
76
81
target_compile_definitions(SimpleGraphic
77
82
PRIVATE
83
+ "_CRT_SECURE_NO_DEPRECATE"
84
+ "_CRT_SECURE_NO_WARNINGS"
85
+ "_SCL_SECURE_NO_DEPRECATE"
86
+ "_SCL_SECURE_NO_WARNINGS"
78
87
"GLFW_INCLUDE_NONE"
79
88
"GL_SILENCE_DEPRECATION"
89
"SIMPLEGRAPHIC_EXPORTS"
0 commit comments