summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Pratt <tom.pratt@outlook.com>2026-04-05 20:06:22 +0100
committerTom Pratt <tompratt@squareup.com>2026-05-20 12:31:12 +0200
commite8da93d52f3b8bae970ed5effffcd271b55f886d (patch)
tree33491cb327885358506c039de8c659fe698931eb
parent7b69949cec7afcd1691a9a046d26d5c4a99ce4fc (diff)
Fix android gradle sync error on windows
Workaround for the following error on gradle sync: java.nio.file.InvalidPathException: Illegal char <:> at index 68: C:\Users\tompr\Development\dolphin\Externals\minizip-ng\minizip-ng\C:\Users\tompr\Development\dolphin\Source\Android\app\.cxx\RelWithDebInfo\3b681gem\arm64-v8a\Externals\zlib-ng\zlib-ng
-rw-r--r--Externals/minizip-ng/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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 "$<TARGET_PROPERTY:ZLIB::ZLIB,INTERFACE_INCLUDE_DIRECTORIES>")
endif()
if(ZSTD_TYPE STREQUAL Bundled)
set(CMAKE_DISABLE_FIND_PACKAGE_ZSTD TRUE)