diff --git a/Externals/minizip-ng/CMakeLists.txt b/Externals/minizip-ng/CMakeLists.txt index 9e7d41cbbf..8ad7f98259 100644 --- a/Externals/minizip-ng/CMakeLists.txt +++ b/Externals/minizip-ng/CMakeLists.txt @@ -27,7 +27,7 @@ if(ZLIB_TYPE STREQUAL Bundled) set(CMAKE_DISABLE_FIND_PACKAGE_ZLIB TRUE) set(ZLIB_FOUND TRUE) set(ZLIB_LIBRARIES ZLIB::ZLIB) - get_target_property(ZLIB_INCLUDE_DIRS ${ZLIB_LIBRARIES} INTERFACE_INCLUDE_DIRECTORIES) + set(ZLIB_INCLUDE_DIRS "$") endif() if(ZSTD_TYPE STREQUAL Bundled) set(CMAKE_DISABLE_FIND_PACKAGE_ZSTD TRUE)