fixed: append boost include dirs / libraries to gotools deps if gotools is built with boost
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1625 e10b68d5-8a6e-419e-a041-bce267b0401d
This commit is contained in:
@@ -40,6 +40,8 @@ IF (GoTools_VERSION_MAJOR GREATER 2)
|
||||
MESSAGE(STATUS "Compiler is non-GNU, assuming GoTools was built with Boost")
|
||||
FIND_PACKAGE(Boost REQUIRED)
|
||||
SET(GoTools_CXX_FLAGS "-DUSE_BOOST=1")
|
||||
SET(GoTools_LIBRARIES ${GoTools_LIBRARIES} ${Boost_LIBRARIES})
|
||||
SET(GoTools_INCLUDE_DIRS ${GoTools_INCLUDE_DIRS} ${Boost_INCLUDE_DIR})
|
||||
ENDIF(CMAKE_CXX_COMPILER_ID MATCHES GNU)
|
||||
ENDIF (GoTools_VERSION_MAJOR GREATER 2)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user