Skip to content
Snippets Groups Projects
Commit 7261db1e authored by James R.'s avatar James R. Committed by SteelT
Browse files

cmake: fix -DSRB2_CONFIG_ENABLE_TESTS=OFF build

parent 34f2594b
No related branches found
No related tags found
1 merge request!2070cmake: Fix build errors related to test suite
......@@ -293,7 +293,9 @@ if(SRB2_CONFIG_PROFILEMODE AND "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU")
endif()
add_subdirectory(sdl)
add_subdirectory(tests)
if(SRB2_CONFIG_ENABLE_TESTS)
add_subdirectory(tests)
endif()
# strip debug symbols into separate file when using gcc.
# to be consistent with Makefile, don't generate for OS X.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment