27 lines
1010 B
Diff
27 lines
1010 B
Diff
From e7bfb68e99905991cee97793d49d2acbc00829fa Mon Sep 17 00:00:00 2001
|
|
From: SpaceIm <30052553+SpaceIm@users.noreply.github.com>
|
|
Date: Sun, 18 Jul 2021 22:33:06 +0200
|
|
Subject: [PATCH] fix install destination of executables for iOS/tvOS/watchOS
|
|
|
|
see https://cmake.org/cmake/help/latest/policy/CMP0006.html
|
|
---
|
|
src/CMakeLists.txt | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
|
index 5d75b8a0..a0f53252 100644
|
|
--- a/src/CMakeLists.txt
|
|
+++ b/src/CMakeLists.txt
|
|
@@ -4,7 +4,7 @@ foreach(PROGRAM zipcmp zipmerge ziptool)
|
|
target_link_libraries(${PROGRAM} zip)
|
|
target_include_directories(${PROGRAM} PRIVATE BEFORE ${PROJECT_SOURCE_DIR}/lib ${PROJECT_BINARY_DIR})
|
|
if(LIBZIP_DO_INSTALL)
|
|
- install(TARGETS ${PROGRAM} EXPORT ${PROJECT_NAME}-targets RUNTIME DESTINATION bin)
|
|
+ install(TARGETS ${PROGRAM} EXPORT ${PROJECT_NAME}-targets DESTINATION bin)
|
|
endif()
|
|
if(NOT HAVE_GETOPT)
|
|
target_sources(${PROGRAM} PRIVATE getopt.c)
|
|
--
|
|
2.33.0
|
|
|