From 98e7873afe94e824f9fcdb6a85f246f6c829f6fe Mon Sep 17 00:00:00 2001 From: Minho Kang Date: Thu, 17 Aug 2017 23:48:47 +0900 Subject: [PATCH] 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. --- CMakeLists.txt | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c7ecee17..acb43b44 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,16 +2,14 @@ cmake_minimum_required(VERSION 2.6) project (Sapphire) set(CMAKE_BINARY_DIR ${CMAKE_SOURCE_DIR}/bin) - + set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}) set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}) - + set(PROJECT_INCLUDE_DIR ${PROJECT_SOURCE_DIR}/include) # boost stuff -if("x${CMAKE_CXX_COMPILER_ID}" STREQUAL "xMSVC") - set(Boost_COMPILER "-vc140") -endif() +# set(Boost_DEBUG 1) if(NOT SAPPHIRE_BOOST_VER) set(SAPPHIRE_BOOST_VER 1.60.0) @@ -20,6 +18,6 @@ set(SAPPHIRE_BOOST_FOLDER_NAME boost_1_60_0) include_directories("${PROJECT_INCLUDE_DIR}") include_directories("${PROJECT_SOURCE_DIR}") - + add_subdirectory("src/servers") add_subdirectory("src/libraries/sapphire/datReader")