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.
2 parents 41f5bb0 + fff0579 commit 5dc0286Copy full SHA for 5dc0286
CMakeLists.txt
@@ -34,6 +34,10 @@ set(default_build_type "Release")
34
35
SET(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
36
37
+if(WIN32)
38
+ add_compile_definitions(WIN32_LEAN_AND_MEAN)
39
+endif()
40
+
41
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
42
message(STATUS "Setting build type to '${default_build_type}' as none was specified.")
43
set(CMAKE_BUILD_TYPE "${default_build_type}" CACHE STRING "Choose the type of build." FORCE)
0 commit comments