Skip to content

Commit

Permalink
sta: only add test subdirectory if tests enabled.
Browse files Browse the repository at this point in the history
Fixes: #6453

Signed-off-by: Henner Zeller <[email protected]>
  • Loading branch information
hzeller committed Jan 1, 2025
1 parent 7fb347f commit dd0314f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/dbSta/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@
###############################################################################

add_subdirectory(src)
add_subdirectory(test)
if(ENABLE_TESTS)
add_subdirectory(test)
endif()

0 comments on commit dd0314f

Please sign in to comment.