blob: 8fda20bcb21fee307828d071348a1ea20c530597 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
From 7c2fb0cd8f8ffd9eafdfcfdd279e1581eca38a2b Mon Sep 17 00:00:00 2001
From: misaka00251 <liuxin@iscas.ac.cn>
Date: Mon, 5 Jun 2023 17:32:18 +0800
Subject: [PATCH] Fix build using swig 4
---
src/php/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/php/CMakeLists.txt b/src/php/CMakeLists.txt
index 4f46da2..7d1853c 100644
--- a/src/php/CMakeLists.txt
+++ b/src/php/CMakeLists.txt
@@ -66,7 +66,7 @@ if(NOT PHP_VERSION_ID VERSION_LESS ${PHP_MIN_VERSION})
install( FILES
${CMAKE_CURRENT_BINARY_DIR}/kolabformat.php
- DESTINATION ${PHP_INSTALL_DIR}
+ DESTINATION ${PHP_INSTALL_DIR} OPTIONAL
)
else()
--
2.39.2 (Apple Git-143)
|