Workaround for Boost 1.78.0 log namespace change

This commit is contained in:
Dan Paulat 2022-04-12 20:35:37 -05:00
parent a18db83730
commit ae886fd624
3 changed files with 12 additions and 0 deletions

View file

@ -54,6 +54,11 @@ endif()
target_compile_definitions(wxtest PRIVATE SCWX_TEST_DATA_DIR="${SCWX_DIR}/test/data")
if (WIN32)
# For Boost::log
target_compile_definitions(wxtest PRIVATE BOOST_USE_WINAPI_VERSION=0x0601)
endif()
gtest_discover_tests(wxtest)
target_link_libraries(wxtest GTest::gtest