Skip to content

Commit

Permalink
Make cata_test link without SDL main
Browse files Browse the repository at this point in the history
  • Loading branch information
alef committed Feb 18, 2024
1 parent 9851495 commit 06e301f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ if (BUILD_TESTING)
add_dependencies(cata_test-tiles test_mo)
endif()
target_link_libraries(cata_test-tiles PRIVATE cataclysm-tiles-common)
target_compile_definitions(cata_test-tiles PUBLIC SDL_MAIN_HANDLED)
add_test(NAME cata.tiles.default
COMMAND cata_test-tiles --rng-seed time
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
Expand Down

0 comments on commit 06e301f

Please sign in to comment.