Change dependency management

This commit is contained in:
2020-11-22 11:12:13 +01:00
parent 02232b17ef
commit aec792fc65
16 changed files with 91 additions and 43 deletions

13
3rdParty/zlib/CMakeLists.txt vendored Normal file
View File

@@ -0,0 +1,13 @@
set(CMAKE_POLICY_DEFAULT_CMP0048 NEW)
include(FetchContent)
FetchContent_Declare(
zlib
GIT_REPOSITORY https://github.com/madler/zlib.git
GIT_TAG v1.2.11
GIT_SHALLOW TRUE
)
FetchContent_MakeAvailable(zlib)
add_library(ZLIB::ZLIB ALIAS zlibstatic)
target_include_directories(zlibstatic INTERFACE ${zlib_BINARY_DIR} ${zlib_SOURCE_DIR})