Don't run conftests when only building the servers.
This commit is contained in:
parent
34369f62d2
commit
0946d8b3f0
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ endif()
|
|||
|
||||
########### Conf Tests ###########
|
||||
|
||||
if(NOT MSVC)
|
||||
if((ENABLE_GAME OR ENABLE_TESTS) AND NOT MSVC)
|
||||
# test for SDL2
|
||||
add_executable(sdl2 conftests/sdl2.cpp)
|
||||
set_target_properties(sdl2 PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/Testing)
|
||||
|
|
Loading…
Add table
Reference in a new issue