Skip to content
Snippets Groups Projects
Commit 5d2ed0d0 authored by Martin Beseda's avatar Martin Beseda
Browse files

Trying to disable Boost autolinking on Windows

parent 8445653b
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,8 @@ message("Using CMake ${CMAKE_VERSION}")
#TODO rewrite to use add_compile_definitions
if(WIN32)
add_compile_options("/D BOOST_ALL_NO_LIB /D NOMINMAX")
add_compile_options("/D BOOST_ALL_NO_LIB")
add_compile_options("/D NOMINMAX")
else()
add_compile_options("-DBOOST_TEST_DYN_LINK")
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment