mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-26 18:21:44 +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()
|
endif()
|
||||||
|
|
||||||
if(NOT USE_SHARED_LIBPNG)
|
if(NOT USE_SHARED_LIBPNG)
|
||||||
set(SKIP_INSTALL_ALL on)
|
set(SKIP_INSTALL_ALL ON)
|
||||||
set(PNG_SHARED off)
|
# We only need the static version of libpng
|
||||||
set(PNG_STATIC on)
|
set(PNG_SHARED OFF CACHE BOOL "Build shared lib")
|
||||||
set(PNG_TESTS off)
|
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}")
|
set(ZLIB_INCLUDE_DIR "${ZLIB_INCLUDE_DIRS}")
|
||||||
add_subdirectory(libpng)
|
add_subdirectory(libpng)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user