bugfix disable testdata_tom if tom disabled

This commit is contained in:
silverqx
2022-06-08 15:58:10 +02:00
parent 3dcca750f4
commit c6f06d6280
2 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,6 @@
add_subdirectory(auto)
add_subdirectory(testdata_tom)
add_subdirectory(TinyUtils)
if(TOM)
add_subdirectory(testdata_tom)
endif()

View File

@@ -2,7 +2,9 @@ TEMPLATE = subdirs
SUBDIRS = \
auto \
testdata_tom \
TinyUtils \
!disable_tom: \
SUBDIRS += testdata_tom
auto.depends = TinyUtils