Skip to content
Snippets Groups Projects
Commit d43e3525 authored by Norihiro Watanabe's avatar Norihiro Watanabe
Browse files

need to include lis header

parent 6c534492
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,10 @@ INCLUDE_DIRECTORIES(
${CMAKE_SOURCE_DIR}/MathLib
)
IF (LIS_FOUND)
INCLUDE_DIRECTORIES(${LIS_INCLUDE_DIR})
ENDIF()
ADD_EXECUTABLE (testrunner testrunner.cpp ${TEST_SOURCES})
SET_TARGET_PROPERTIES(testrunner PROPERTIES FOLDER Testing)
......@@ -28,9 +32,6 @@ TARGET_LINK_LIBRARIES(testrunner
${Boost_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT}
)
IF(OGS_USE_LIS)
TARGET_LINK_LIBRARIES( testrunner ${LIS_LIBRARIES} )
ENDIF()
# Add make-target test which runs the testrunner
# This should override CTest's predefined test-target but it does not
......
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