Commit 45e402b8 authored by ebaum's avatar ebaum
Browse files

[CHANGE]

- Included module "common" for linking
parent a1b2097f
......@@ -4,9 +4,9 @@ ADD_SUBDIRECTORY( exceptions )
FILE( GLOB DATAHANDLER_SRC "*.cpp" "*.hpp" )
FILE( GLOB DATAHANDLER_EXCEPTIONS_SRC "exceptions/*.cpp" )
ADD_LIBRARY( dataHandler SHARED ${DATAHANDLER_SRC} ${DATAHANDLER_EXCEPTIONS_SRC} )
TARGET_LINK_LIBRARIES( dataHandler niftiio ${Boost_LIBRARIES} )
TARGET_LINK_LIBRARIES( dataHandler niftiio common ${Boost_LIBRARIES} )
# Unit tests
IF( CXXTEST_FOUND )
CXXTEST_ADD_TESTS_FROM_LIST( "${DATAHANDLER_SRC}" "dataHandler" )
CXXTEST_ADD_TESTS_FROM_LIST( "${DATAHANDLER_SRC}" "dataHandler" "common" )
ENDIF( CXXTEST_FOUND )
Markdown is supported
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