Skip to content

Commit

Permalink
cmake: move comment to it correct place.
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Jan 29, 2024
1 parent a062e12 commit 750f1c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -397,10 +397,10 @@ endif()
if(SDL3IMAGE_ZLIB)
if(SDL3IMAGE_ZLIB_VENDORED)
message(STATUS "${PROJECT_NAME}: Using vendored zlib")
# disable build of zlib example programs:
set(ZLIB_BUILD_EXAMPLES OFF CACHE BOOL "zlib examples" FORCE)
sdl_check_project_in_subfolder(external/zlib zlib SDL3IMAGE_VENDORED)
add_subdirectory(external/zlib EXCLUDE_FROM_ALL)
# disable build of zlib example programs:
# PNG_BUILD_ZLIB variable is used by vendored libpng
set(PNG_BUILD_ZLIB ON CACHE BOOL "libpng option to tell it should use 'our' vendored ZLIB library" FORCE)
# ZLIB_INCLUDE_DIR variable is used by vendored libpng
Expand Down

0 comments on commit 750f1c1

Please sign in to comment.