Skip to content

Commit e40c6b0

Browse files
committed
add command argument pass to cmake
1 parent dab7844 commit e40c6b0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

CMakeLists.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
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" )
4+
set(BOOST_PATH "./boost" CACHE STRING "boost root path" )
5+
set(BOOST_ROOT ${BOOST_PATH} )
6+
#set(BOOST_INCLUDEDIR "${BOOST_PATH}/include" )
7+
#set(BOOST_LIBRARYDIR "${BOOST_PATH}/lib" )
78
set(Boost_DEBUG 1)
89
set(Boost_USE_STATIC_LIBS ON)
910
set(Boost_USE_MULTITHREADED ON)

0 commit comments

Comments
 (0)