mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-01 05:19:09 -06:00
fix the default build system
for some reason, libraries produced for a module are not linked to the executables of the module by the default build system. so far this did not matter for `ebos` but with this PR, it starts using stuff from `libopmsimulators`...
This commit is contained in:
parent
d9c67ef551
commit
f4435a5de9
@ -154,9 +154,12 @@ set_tests_properties(flow__version PROPERTIES
|
|||||||
# the research oriented general-purpose ECL simulator ("ebos" == &ecl
|
# the research oriented general-purpose ECL simulator ("ebos" == &ecl
|
||||||
# &black-&oil &simulator)
|
# &black-&oil &simulator)
|
||||||
opm_add_test(ebos
|
opm_add_test(ebos
|
||||||
SOURCES ebos/ebos.cc
|
ONLY_COMPILE
|
||||||
|
ALWAYS_ENABLE
|
||||||
EXE_NAME ebos
|
EXE_NAME ebos
|
||||||
ONLY_COMPILE)
|
DEPENDS "opmsimulators"
|
||||||
|
LIBRARIES "opmsimulators"
|
||||||
|
SOURCES ebos/ebos.cc)
|
||||||
|
|
||||||
if(OPM_GRID_FOUND AND HAVE_ECL_INPUT AND HAVE_ECL_OUTPUT)
|
if(OPM_GRID_FOUND AND HAVE_ECL_INPUT AND HAVE_ECL_OUTPUT)
|
||||||
install(TARGETS ebos DESTINATION bin)
|
install(TARGETS ebos DESTINATION bin)
|
||||||
|
Loading…
Reference in New Issue
Block a user