mirror of
https://github.com/encounter/SDL.git
synced 2025-12-09 13:37:56 +00:00
cmake: Allow integers for SDL_ASSERTIONS + fix -DSDL_ASSERTIONS=0
This commit is contained in:
committed by
Sam Lantinga
parent
97711e99fe
commit
b5f1fe5004
@@ -261,7 +261,9 @@
|
||||
#cmakedefine HAVE_XINPUT_STATE_EX @HAVE_XINPUT_STATE_EX@
|
||||
|
||||
/* SDL internal assertion support */
|
||||
#if @SDL_DEFAULT_ASSERT_LEVEL_CONFIGURED@
|
||||
#cmakedefine SDL_DEFAULT_ASSERT_LEVEL @SDL_DEFAULT_ASSERT_LEVEL@
|
||||
#endif
|
||||
|
||||
/* Allow disabling of core subsystems */
|
||||
#cmakedefine SDL_ATOMIC_DISABLED @SDL_ATOMIC_DISABLED@
|
||||
|
||||
Reference in New Issue
Block a user