Skip to content

Commit

Permalink
bugfix disable testdata_tom if tom disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Jun 8, 2022
1 parent 3dcca75 commit c6f06d6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
add_subdirectory(auto)
add_subdirectory(testdata_tom)
add_subdirectory(TinyUtils)

if(TOM)
add_subdirectory(testdata_tom)
endif()
4 changes: 3 additions & 1 deletion tests/tests.pro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ TEMPLATE = subdirs

SUBDIRS = \
auto \
testdata_tom \
TinyUtils \

!disable_tom: \
SUBDIRS += testdata_tom

auto.depends = TinyUtils

0 comments on commit c6f06d6

Please sign in to comment.