|
@@ -0,0 +1,29 @@
|
|
1
|
+diff -rupN libevhtp-1.1-1.1.7-orig/CMakeLists.txt libevhtp-1.1-1.1.7/CMakeLists.txt
|
|
2
|
+--- libevhtp-1.1-1.1.7-orig/CMakeLists.txt 2015-06-14 00:15:28.000000000 +0200
|
|
3
|
++++ libevhtp-1.1-1.1.7/CMakeLists.txt 2015-06-14 00:21:17.441299942 +0200
|
|
4
|
+@@ -54,7 +54,7 @@ if (NOT HAVE_SYS_UN)
|
|
5
|
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DNO_SYS_UN")
|
|
6
|
+ endif(NOT HAVE_SYS_UN)
|
|
7
|
+
|
|
8
|
+-OPTION(EVHTP_DISABLE_SSL "Disable ssl support" OFF)
|
|
9
|
++OPTION(EVHTP_DISABLE_SSL "Disable ssl support" ON)
|
|
10
|
+ OPTION(EVHTP_DISABLE_EVTHR "Disable evthread support" OFF)
|
|
11
|
+ OPTION(EVHTP_DIABLE_REGEX "Disable regex support" OFF)
|
|
12
|
+
|
|
13
|
+@@ -182,11 +182,11 @@ endif()
|
|
14
|
+ add_library(libevhtp STATIC ${LIBEVHTP_SOURCES} ${ONIG_SOURCES})
|
|
15
|
+ set_target_properties(libevhtp PROPERTIES OUTPUT_NAME "evhtp")
|
|
16
|
+
|
|
17
|
+-install (TARGETS libevhtp DESTINATION lib)
|
|
18
|
+-install (FILES evhtp.h DESTINATION include)
|
|
19
|
+-install (FILES htparse/htparse.h DESTINATION include)
|
|
20
|
+-install (FILES evthr/evthr.h DESTINATION include)
|
|
21
|
+-install (FILES oniguruma/onigposix.h DESTINATION include)
|
|
22
|
++install (TARGETS libevhtp DESTINATION lib/libevhtp-1.1)
|
|
23
|
++install (FILES evhtp.h DESTINATION include/libevhtp-1.1)
|
|
24
|
++install (FILES htparse/htparse.h DESTINATION include/libevhtp-1.1)
|
|
25
|
++install (FILES evthr/evthr.h DESTINATION include/libevhtp-1.1)
|
|
26
|
++install (FILES oniguruma/onigposix.h DESTINATION include/libevhtp-1.1)
|
|
27
|
+
|
|
28
|
+ find_library (LIB_DL dl)
|
|
29
|
+ set (SYS_LIBS ${LIB_DL})
|