Skip to content
Snippets Groups Projects
Commit de6157cc authored by Lars Bilke's avatar Lars Bilke
Browse files

Find Boost also in C:/libs/boost.

parent 8e5612e3
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,8 @@ IF(NOT Boost_INCLUDE_DIRS)
IF(WIN32)
SET(Boost_USE_STATIC_LIBS ON)
IF(NOT DEFINED BOOST_LIBRARYDIR)
SET(BOOST_LIBRARYDIR "C:/boost/lib${BITS}-${BOOST_TOOLSET};$ENV{BOOST_ROOT}/lib${BITS}-${BOOST_TOOLSET}")
SET(BOOST_LIBRARYDIR "$ENV{CMAKE_LIBRARY_SEARCH_PATH}/boost/lib${BITS}-${BOOST_TOOLSET};C:/boost/lib${BITS}-${BOOST_TOOLSET};$ENV{BOOST_ROOT}/lib${BITS}-${BOOST_TOOLSET}")
SET(BOOST_INCLUDEDIR "$ENV{CMAKE_LIBRARY_SEARCH_PATH}/boost;C:/boost;$ENV{BOOST_ROOT}")
ENDIF()
ENDIF()
FIND_PACKAGE(Boost 1.46.0 COMPONENTS ${BOOST_LIBS_TO_BUILD})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment