diff --git a/CMakeLists.txt b/CMakeLists.txt index 5411e6e..bb6aca1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -261,3 +261,4 @@ target_include_directories(${EXECUTABLE_NAME} PRIVATE ${ZLIB_INCLUDE_DIRS}) add_subdirectory("third_party/sdl2") target_link_libraries(${EXECUTABLE_NAME} ${SDL2_LIBRARIES}) target_include_directories(${EXECUTABLE_NAME} PRIVATE ${SDL2_INCLUDE_DIRS}) +add_definitions(-DSDL_MAIN_HANDLED) \ No newline at end of file