mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-25 15:18:23 +00:00
Disable png tests and dynamic library caching values
This commit is contained in:
parent
80a649dc12
commit
72b47e061a
9
third_party/CMakeLists.txt
vendored
9
third_party/CMakeLists.txt
vendored
@ -18,10 +18,11 @@ if(NOT USE_SHARED_ZLIB)
|
||||
endif()
|
||||
|
||||
if(NOT USE_SHARED_LIBPNG)
|
||||
set(SKIP_INSTALL_ALL on)
|
||||
set(PNG_SHARED off)
|
||||
set(PNG_STATIC on)
|
||||
set(PNG_TESTS off)
|
||||
set(SKIP_INSTALL_ALL ON)
|
||||
# We only need the static version of libpng
|
||||
set(PNG_SHARED OFF CACHE BOOL "Build shared lib")
|
||||
set(PNG_STATIC ON CACHE BOOL "Build static lib")
|
||||
set(PNG_TESTS OFF CACHE BOOL "Build libpng tests")
|
||||
set(ZLIB_INCLUDE_DIR "${ZLIB_INCLUDE_DIRS}")
|
||||
add_subdirectory(libpng)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user