From 6dbc9ca4b01a1e776f90a2f6337d19418ca0c365 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Tue, 31 Mar 2020 14:55:11 +0200 Subject: 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 --- tests/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index c2e10dc63..77312a215 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -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 -- cgit v1.2.3-70-g09d2