diff --git a/CMakeLists.txt b/CMakeLists.txt index 39c2d5b..52c0857 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,14 +1,18 @@ cmake_minimum_required (VERSION 2.6) PROJECT(sioclient) +#set(BOOST_ROOT "D:/BoostRoot" ) +set(BOOST_INCLUDEDIR "D:/boost_1_55_0" ) +set(BOOST_LIBRARYDIR "D:/boost_1_55_0/boost_build/release/lib" ) +set(Boost_DEBUG 1) set(Boost_USE_STATIC_LIBS ON) set(Boost_USE_MULTITHREADED ON) set(Boost_USE_STATIC_RUNTIME OFF) -find_package(Boost 1.57.0 COMPONENTS system date_time random asio) +find_package(Boost 1.55.0 COMPONENTS system date_time random) if(Boost_FOUND) include_directories(${Boost_INCLUDE_DIRS} ${PROJECT_SOURCE_DIR}/src ${PROJECT_SOURCE_DIR}/lib/websocketpp ${PROJECT_SOURCE_DIR}/lib/rapidjson/include) aux_source_directory(${PROJECT_SOURCE_DIR}/src ALL_SRC) add_library(sioclient STATIC ${ALL_SRC}) target_link_libraries(sioclient ${Boost_LIBRARIES}) -endif() \ No newline at end of file +endif() \ No newline at end of file