We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 165ab97 commit d55b851Copy full SHA for d55b851
1 file changed
cmake/commonSettings.cmake
@@ -62,7 +62,9 @@ endif()
62
63
if(MSVC)
64
set(BUILD_SHARED_LIBS OFF)
65
-
+ add_compile_definitions(_WINVER=0x0601)
66
+ add_compile_definitions(_WIN32_WINNT=0x0601)
67
+ add_compile_definitions(BOOST_USE_WINAPI_VERSION=0x0601)
68
# build static libs always
69
set(CMAKE_MSVC_RUNTIME_LIBRARY
70
"MultiThreaded$<$<CONFIG:Debug>:Debug>$<$<BOOL:${MSVC_LINK_DYNAMIC_RUNTIME}>:DLL>")
0 commit comments