Skip to content

Commit dab7844

Browse files
committed
update cmake lists
1 parent cf7a5c7 commit dab7844

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

CMakeLists.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
cmake_minimum_required (VERSION 2.6)
22
PROJECT(sioclient)
33

4+
#set(BOOST_ROOT "D:/BoostRoot" )
5+
set(BOOST_INCLUDEDIR "D:/boost_1_55_0" )
6+
set(BOOST_LIBRARYDIR "D:/boost_1_55_0/boost_build/release/lib" )
7+
set(Boost_DEBUG 1)
48
set(Boost_USE_STATIC_LIBS ON)
59
set(Boost_USE_MULTITHREADED ON)
610
set(Boost_USE_STATIC_RUNTIME OFF)
7-
find_package(Boost 1.57.0 COMPONENTS system date_time random asio)
11+
find_package(Boost 1.55.0 COMPONENTS system date_time random)
812

913
if(Boost_FOUND)
1014
include_directories(${Boost_INCLUDE_DIRS} ${PROJECT_SOURCE_DIR}/src ${PROJECT_SOURCE_DIR}/lib/websocketpp ${PROJECT_SOURCE_DIR}/lib/rapidjson/include)
1115
aux_source_directory(${PROJECT_SOURCE_DIR}/src ALL_SRC)
1216
add_library(sioclient STATIC ${ALL_SRC})
1317
target_link_libraries(sioclient ${Boost_LIBRARIES})
14-
endif()
18+
endif()

0 commit comments

Comments
 (0)