Commit f3a1c7c7 authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

Fix boost components.

parent 2d194ef9
......@@ -57,6 +57,11 @@ ENDIF(CMAKE_BUILD_TYPE MATCHES "DEBUG")
# Search for Boost.
# Boost.Test is used by the test suite.
SET(BOOST_COMPONENTS_LIB thread)
SET(BOOST_COMPONENTS ${BOOST_COMPONENTS_LIB})
IF(BUILD_TESTING)
SET(BOOST_COMPONENTS ${BOOST_COMPONENTS_LIB} unit_test_framework)
ENDIF()
SEARCH_FOR_BOOST()
# Search for dependecies.
......@@ -103,3 +108,4 @@ ADD_SUBDIRECTORY(src)
ADD_SUBDIRECTORY(tests)
PKG_CONFIG_APPEND_LIBS(${PROJECT_NAME})
PKG_CONFIG_APPEND_BOOST_LIBS(${BOOST_COMPONENTS_LIB})
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment