cmakelists build cleanup

This commit is contained in:
scawful
2024-08-08 13:42:32 -04:00
parent bb766d22eb
commit 7379a8535c
5 changed files with 50 additions and 35 deletions

View File

@@ -10,4 +10,7 @@ set(SDL_TARGETS SDL2::SDL2)
if(WIN32 OR MINGW)
list(PREPEND SDL_TARGETS SDL2::SDL2main ws2_32)
add_definitions(-DSDL_MAIN_HANDLED)
endif()
endif()
# libpng
find_package(PNG REQUIRED)