cleanup: don't compile subsurface-helper.cpp for tests

It is unclear why the subsurface-helper.cpp file was linked with the
tests. In any case, it led to comlicated ifdef-ery, so let's remove
that for now and readd later if the need arises.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-03-31 14:55:11 +02:00 committed by Dirk Hohndel
parent 286100c10a
commit 6dbc9ca4b0
2 changed files with 1 additions and 7 deletions

View file

@ -88,8 +88,7 @@ add_definitions(-g)
add_definitions(-DSUBSURFACE_TEST_DATA="${SUBSURFACE_TEST_DATA}")
# Build QML test runner
# add_executable demands relative path, therefore ../
add_executable(TestQML testqml.cpp ../subsurface-helper.cpp )
add_executable(TestQML testqml.cpp)
target_link_libraries(
TestQML
subsurface_corelib