mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 18:13:24 +00:00
tests: fix cmake syntax confusion
You cannot have a conditional in the middle of a list. I should have caught this in review. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
e80c27a2bd
commit
cb3561ae85
1 changed files with 4 additions and 5 deletions
|
@ -138,6 +138,9 @@ TEST(TestQPrefUnits testqPrefUnits.cpp)
|
|||
TEST(TestQPrefUpdateManager testqPrefUpdateManager.cpp)
|
||||
add_test(NAME TestQML COMMAND $<TARGET_FILE:TestQML> -input ${SUBSURFACE_SOURCE}/tests)
|
||||
|
||||
if (SUBSURFACE_TARGET_EXECUTABLE MATCHES "MobileExecutable")
|
||||
set(TEST_PLANNER_SHARDE TestPlannerShared)
|
||||
endif()
|
||||
|
||||
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND}
|
||||
DEPENDS
|
||||
|
@ -153,11 +156,7 @@ add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND}
|
|||
TestPicture
|
||||
TestMerge
|
||||
TestTagList
|
||||
|
||||
if (SUBSURFACE_TARGET_EXECUTABLE MATCHES "MobileExecutable")
|
||||
TestPlannerShared
|
||||
endif()
|
||||
|
||||
${TEST_PLANNER_SHARED}
|
||||
TestQPrefCloudStorage
|
||||
TestQPrefDisplay
|
||||
TestQPrefDiveComputer
|
||||
|
|
Loading…
Add table
Reference in a new issue