cmake: Allow integers for SDL_ASSERTIONS + fix -DSDL_ASSERTIONS=0

This commit is contained in:
Anonymous Maarten authored and Sam Lantinga committed 2022-06-15 11:11:49 -07:00
1 parent 97711e99fe
commit b5f1fe5004
2 files changed
+10 -5

No files matched your search

+2
View File
@@ -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@