Skip to content

Commit 5122ce8

Browse files
authored
Merge pull request #1039 from akva2/use_addexec
use opm_add_executable to build cpgrid_aquifer_test
2 parents 357d0c1 + 6043381 commit 5122ce8

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,9 @@ macro(opm-grid_tests_hook)
126126
endforeach()
127127

128128
if(HAVE_OPM_TESTS AND USE_OPM_COMMON)
129-
opm_add_test(cpgrid_aquifer_test
130-
ONLY_COMPILE
129+
opm_add_executable(
130+
TARGET
131+
cpgrid_aquifer_test
131132
SOURCES
132133
tests/cpgrid/cpgrid_aquifer_test.cpp
133134
LIBRARIES

0 commit comments

Comments
 (0)