diff --git a/CMake/FindDeps.cmake b/CMake/FindDeps.cmake index 6ce362d..11f35a7 100644 --- a/CMake/FindDeps.cmake +++ b/CMake/FindDeps.cmake @@ -2,7 +2,8 @@ include(FetchContent) set(BUILD_SHARED_LIBS OFF CACHE INTERNAL "Force static libs") -find_package(zlib-ng CONFIG REQUIRED) +set(ZLIB_USE_STATIC_LIBS ON) +find_package(ZLIB REQUIRED) find_package(zstd CONFIG REQUIRED) find_package(OpenSSL 3.0.0 REQUIRED) diff --git a/Src/IACore/CMakeLists.txt b/Src/IACore/CMakeLists.txt index 56d9f7d..93b5221 100644 --- a/Src/IACore/CMakeLists.txt +++ b/Src/IACore/CMakeLists.txt @@ -22,7 +22,7 @@ target_include_directories(IACore PUBLIC inc/) target_include_directories(IACore PRIVATE imp/hpp/) target_link_libraries(IACore PUBLIC - zlib-ng::zlib + ZLIB::ZLIB zstd::libzstd tl::expected glaze::glaze diff --git a/vcpkg.json b/vcpkg.json index bbb54ac..b595572 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -5,11 +5,6 @@ "dependencies": [ "openssl", "zstd", - { - "name": "zlib-ng", - "features": [ - "compat" - ] - } + "zlib" ] } \ No newline at end of file