blob: ac0f59421c5616fe74cb2890b5dc42883470ee8e (
plain) (
blame)
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
26
27
28
29
30
|
--- CMakeLists.txt.orig 2019-03-04 16:53:16 UTC
+++ CMakeLists.txt
@@ -61,9 +61,6 @@ endif()
find_package(OpenSSL REQUIRED)
# pthreads isn't used directly, but this is still required for std::thread.
find_package(Threads REQUIRED)
-find_package(SWIG)
-find_package(PythonInterp)
-find_package(PythonLibs)
if (WIN32)
# Use unsigned characters
@@ -86,7 +83,7 @@ endif()
# OPENSSL_ROOT_DIR=/usr/local/opt/openssl cmake ..
include_directories(
${GFLAGS_INCLUDE_DIRS} ${GLOG_INCLUDE_DIRS} ${OPENSSL_INCLUDE_DIR}
- ${PYTHON_INCLUDE_DIRS})
+)
include_directories(src)
add_library(s2
@@ -529,8 +526,4 @@ endif()
if (BUILD_EXAMPLES)
add_subdirectory("doc/examples" examples)
-endif()
-
-if (${SWIG_FOUND} AND ${PYTHONLIBS_FOUND})
- add_subdirectory("src/python" python)
endif()
|