mirror of
https://github.com/Nimac0/SDL_Minigame
synced 2026-01-12 13:43:41 +00:00
added zlib locally
This commit is contained in:
parent
ad3d6522d7
commit
2d4229a9f1
4
.gitmodules
vendored
4
.gitmodules
vendored
@ -10,3 +10,7 @@
|
||||
path = lib/libpng
|
||||
url = https://github.com/glennrp/libpng.git
|
||||
branch = libpng16
|
||||
[submodule "lib/zlib"]
|
||||
path = lib/zlib
|
||||
url = https://github.com/madler/zlib.git
|
||||
branch = master
|
||||
|
||||
@ -13,6 +13,7 @@ add_subdirectory(lib/libpng EXCLUDE_FROM_ALL)
|
||||
include_directories(
|
||||
${SDL2_INCLUDE_DIRS}
|
||||
${SDL2_IMAGE_INCLUDE_DIRS}
|
||||
${ZLIB_IMAGE_INCLUDE_DIRS}
|
||||
${PNG_INCLUDE_DIRS})
|
||||
|
||||
file(GLOB_RECURSE SOURCES src/*.cpp)
|
||||
@ -21,6 +22,7 @@ add_executable(${PROJECT_NAME} ${SOURCES})
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE
|
||||
SDL2
|
||||
SDL2_image
|
||||
${ZLIB_LIBRARY}
|
||||
${PNG_LIBRARIES}
|
||||
)
|
||||
|
||||
|
||||
1
lib/zlib
Submodule
1
lib/zlib
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 09155eaa2f9270dc4ed1fa13e2b4b2613e6e4851
|
||||
Loading…
x
Reference in New Issue
Block a user