Skip to content

Commit

Permalink
Don't run conftests when only building the servers.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pentarctagon committed Aug 25, 2022
1 parent 34369f6 commit 0946d8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Expand Up @@ -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)
Expand Down

0 comments on commit 0946d8b

Please sign in to comment.