

zstd library not found zstandard support disabled Could NOT find Zstd (missing: Zstd_LIBRARY Zstd_INCLUDE_DIR) (Required is at least version "1.3.6")ĬMake Warning at cmake-build-debug/_deps/libzip-src/CMakeLists.txt:204 (message): lzma library not found lzma/xz support disabled Could NOT find LibLZMA (missing: LIBLZMA_LIBRARY LIBLZMA_INCLUDE_DIR LIBLZMA_HAS_AUTO_DECODER LIBLZMA_HAS_EASY_ENCODER LIBLZMA_HAS_LZMA_PRESET) (Required is at least version "5.2")ĬMake Warning at cmake-build-debug/_deps/libzip-src/CMakeLists.txt:195 (message): bzip2 library not found bzip2 support disabled

Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)ĬMake Warning at cmake-build-debug/_deps/libzip-src/CMakeLists.txt:186 (message): Found ZLIB: zlib (Required is at least version "1.1.2") Performing Test HAVE_FICLONERANGE - Failed Looking for include file sys/types.h - found Looking for include file stdint.h - found Looking for include file inttypes.h - found Looking for include file unistd.h - not found Looking for include file strings.h - not found Looking for include file stdbool.h - found Looking for 3 include files sys/types.h. Looking for explicit_memset - not found Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR) Could NOT find MbedTLS (missing: MbedTLS_LIBRARY MbedTLS_INCLUDE_DIR) (Required is at least version "1.0") Could NOT find GnuTLS (missing: GNUTLS_LIBRARY GNUTLS_INCLUDE_DIR)

Could NOT find Nettle (missing: Nettle_LIBRARY Nettle_INCLUDE_DIR) (Required is at least version "3.0") Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) Looking for include file CommonCrypto/CommonCrypto.h - not found Looking for include file CommonCrypto/CommonCrypto.h but CMake generates it automatically in the build directory. to 'zconf.h.included' because this file is included with zlib Z:/ProjectFolder/cmake-build-debug/_deps/zlib-src/zconf.h suffix to tellĬMake that the project does not need compatibility with older versions. Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/3/bin/Host圆4/圆4/cl.exe - skippedĬMake Deprecation Warning at cmake-build-debug/_deps/zlib-src/CMakeLists.txt:1 (cmake_minimum_required):Ĭompatibility with CMake value or use a. Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/3/bin/Host圆4/圆4/cl.exe - skipped The CXX compiler identification is MSVC 7.0 The C compiler identification is MSVC 7.0 However, the first time I run cmake (without any cmake cache), cmake fails with the following output: "C:\Program Files\JetBrains\CLion 2022.1\bin\cmake\win\bin\cmake.exe" -DCMAKE_BUILD_TYPE=Debug "-DCMAKE_MAKE_PROGRAM=C:/Program Files/JetBrains/CLion 2022.1/bin/ninja/win/ninja.exe" -G Ninja -S Z:\ProjectFolder -B Z:\ProjectFolder\cmake-build-debug The compilation works fine, but the linker fails because the linker cannot find the zlib. The dependencies are added in the ExampleProject cmake file via FetchContent_Declare.ĮxampleProject-cmake-file: cmake_minimum_required(VERSION 3.22)Īdd_library($ Catch2::Catch2 ExampleProject)

Libzippp depends on libzip and libzip on zlib. The first is a library project called ExampleProject. The setup: There are two C++ cmake projects. I'm having strange behavior when trying to build and link libzippp (and zlib) with a library project on Windows.
