1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-26 14:37:44 +00:00

Remove VS2015 boost compiler from CMake

This changes let CMake determine which boost compiler to use and therefore allowing it to use toolchain other than VS2015.
This commit is contained in:
Adam 2017-08-17 23:48:47 +09:00
parent d694cbfcf5
commit 25472b1401

View file

@ -9,9 +9,7 @@ set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR})
set(PROJECT_INCLUDE_DIR ${PROJECT_SOURCE_DIR}/include) set(PROJECT_INCLUDE_DIR ${PROJECT_SOURCE_DIR}/include)
# boost stuff # boost stuff
if("x${CMAKE_CXX_COMPILER_ID}" STREQUAL "xMSVC") # set(Boost_DEBUG 1)
set(Boost_COMPILER "-vc140")
endif()
if(NOT SAPPHIRE_BOOST_VER) if(NOT SAPPHIRE_BOOST_VER)
set(SAPPHIRE_BOOST_VER 1.60.0) set(SAPPHIRE_BOOST_VER 1.60.0)