Defined SDL_MAIN_HANDLED to solve link error
This commit is contained in:
parent
3c666b480c
commit
5d8cd0ebdf
|
@ -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)
|
Loading…
Reference in New Issue