Skip to content

Commit

Permalink
we are going to use bjam in a command to staticly build boost instead…
Browse files Browse the repository at this point in the history
… of cmake. pick up the .a files it creates as Boost_LIBRARIES
  • Loading branch information
hobu committed Feb 10, 2012
1 parent 8e53724 commit de57c5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Expand Up @@ -197,11 +197,11 @@ if(Boost_FOUND)
endif(WIN32)

else()
add_subdirectory(boost)
set(BOOST_ROOT ${PROJECT_SOURCE_DIR}/boost)
find_package(Boost 1.48)
set(Boost_LIBRARIES ${PROJECT_SOURCE_DIR}/bin/libpdalboost.a)
FILE(GLOB Boost_LIBRARIES "${PROJECT_SOURCE_DIR}/boost/stage/lib/libpdalboost_*.a")
include_directories(${Boost_INCLUDE_DIRS})
set(PDAL_EMBED_BOOST 1)
endif(Boost_FOUND)

#------------------------------------------------------------------------------
Expand Down

0 comments on commit de57c5b

Please sign in to comment.