mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fix the CMake build
also, fix and simplify the CTest system
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
# add build targets
|
||||
ADD_EXECUTABLE("tutorial_decoupled" tutorial_decoupled.cc)
|
||||
TARGET_LINK_LIBRARIES("tutorial_decoupled" ${DumuxLinkLibraries})
|
||||
TARGET_LINK_LIBRARIES("tutorial_decoupled" ${EwomsLinkLibraries})
|
||||
|
||||
ADD_EXECUTABLE("tutorial_coupled" tutorial_coupled.cc)
|
||||
TARGET_LINK_LIBRARIES("tutorial_coupled" ${DumuxLinkLibraries})
|
||||
TARGET_LINK_LIBRARIES("tutorial_coupled" ${EwomsLinkLibraries})
|
||||
|
||||
# add required libraries and includes to the build flags
|
||||
LINK_DIRECTORIES(${DumuxLinkDirectories})
|
||||
INCLUDE_DIRECTORIES(${DumuxIncludeDirectories})
|
||||
LINK_DIRECTORIES(${EwomsLinkDirectories})
|
||||
INCLUDE_DIRECTORIES(${EwomsIncludeDirectories})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user