1
- From 8e1cb823b5bc59a6a1f1e02de95d0cd1b9458098 Mon Sep 17 00:00:00 2001
1
+ From 6633ceefa002e021aa7a5e1ee7c96f9a51f8a9ae Mon Sep 17 00:00:00 2001
2
2
From: Don <don.j.olmstead@gmail.com>
3
3
Date: Thu, 3 Mar 2022 15:32:10 -0800
4
- Subject: [PATCH 2/4 ] Add ICU build option
4
+ Subject: [PATCH 1/3 ] Add ICU build option
5
5
6
6
The provided CMake doesn't have a build option for ICU so add it.
7
7
---
8
8
CMakeLists.txt | 8 ++++++++
9
9
1 file changed, 8 insertions(+)
10
10
11
11
diff --git a/CMakeLists.txt b/CMakeLists.txt
12
- index d0b0d15d..c821c780 100644
12
+ index a18f7402..c446c186 100644
13
13
--- a/CMakeLists.txt
14
14
+++ b/CMakeLists.txt
15
15
@@ -40,6 +40,7 @@ endif()
16
16
option(BUILD_SHARED_LIBS "Build shared libraries" ON)
17
17
option(LIBXSLT_WITH_DEBUGGER "Add the debugging support" ON)
18
18
option(LIBXSLT_WITH_CRYPTO "Add crypto support to exslt" OFF)
19
19
+ option(LIBXSLT_WITH_ICU "Add ICU support to xslt" OFF)
20
- option(LIBXSLT_WITH_MEM_DEBUG "Add the memory debugging module" OFF)
21
20
option(LIBXSLT_WITH_MODULES "Add the module support" ON)
22
21
option(LIBXSLT_WITH_PROFILER "Add the profiling support" ON)
23
- @@ -57,6 +58,10 @@ if(LIBXSLT_WITH_CRYPTO AND NOT WIN32)
22
+ option(LIBXSLT_WITH_PYTHON "Build Python bindings" ON)
23
+ @@ -56,6 +57,10 @@ if(LIBXSLT_WITH_CRYPTO AND NOT WIN32)
24
24
find_package(Gcrypt REQUIRED)
25
25
endif()
26
26
@@ -31,7 +31,7 @@ index d0b0d15d..c821c780 100644
31
31
if(LIBXSLT_WITH_PYTHON)
32
32
check_include_files(unistd.h HAVE_UNISTD_H)
33
33
check_symbol_exists(F_GETFL fcntl.h HAVE_F_GETFL)
34
- @@ -230 ,6 +235 ,9 @@ target_include_directories(
34
+ @@ -229 ,6 +234 ,9 @@ target_include_directories(
35
35
)
36
36
37
37
target_link_libraries(LibXslt PUBLIC LibXml2::LibXml2)
@@ -42,5 +42,5 @@ index d0b0d15d..c821c780 100644
42
42
if(UNIX)
43
43
target_link_libraries(LibXslt PRIVATE m)
44
44
- -
45
- 2.42.0 .windows.2
45
+ 2.45.2 .windows.1
46
46
0 commit comments