Skip to content

Commit d55b851

Browse files
mgronckijenkins
authored andcommitted
fix abi mismatch between boost log > 1.72 and ORE
1 parent 165ab97 commit d55b851

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

cmake/commonSettings.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ endif()
6262

6363
if(MSVC)
6464
set(BUILD_SHARED_LIBS OFF)
65-
65+
add_compile_definitions(_WINVER=0x0601)
66+
add_compile_definitions(_WIN32_WINNT=0x0601)
67+
add_compile_definitions(BOOST_USE_WINAPI_VERSION=0x0601)
6668
# build static libs always
6769
set(CMAKE_MSVC_RUNTIME_LIBRARY
6870
"MultiThreaded$<$<CONFIG:Debug>:Debug>$<$<BOOL:${MSVC_LINK_DYNAMIC_RUNTIME}>:DLL>")

0 commit comments

Comments
 (0)