2019-11-26 18:40:32 +08:00
|
|
|
diff --git a/bindings/perl/lib/CMakeLists.txt b/bindings/perl/lib/CMakeLists.txt
|
2022-12-13 04:18:37 +08:00
|
|
|
index 7c36e51..ee2c5bc 100644
|
2019-11-26 18:40:32 +08:00
|
|
|
--- a/bindings/perl/lib/CMakeLists.txt
|
|
|
|
+++ b/bindings/perl/lib/CMakeLists.txt
|
|
|
|
@@ -1,2 +1 @@
|
2022-12-13 04:18:37 +08:00
|
|
|
add_custom_target(PMlibproxy ALL ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/Libproxy.pm ${CMAKE_BINARY_DIR}/perl/Net/Libproxy.pm)
|
2019-11-26 18:40:32 +08:00
|
|
|
-install( FILES Libproxy.pm DESTINATION ${PX_PERL_ARCH}/Net )
|
|
|
|
diff --git a/bindings/perl/src/CMakeLists.txt b/bindings/perl/src/CMakeLists.txt
|
2022-12-13 04:18:37 +08:00
|
|
|
index 2800a85..c5d8e0f 100644
|
2019-11-26 18:40:32 +08:00
|
|
|
--- a/bindings/perl/src/CMakeLists.txt
|
|
|
|
+++ b/bindings/perl/src/CMakeLists.txt
|
2022-12-13 04:18:37 +08:00
|
|
|
@@ -21,5 +21,3 @@ target_link_libraries(PLlibproxy ${PLlibproxy_LIB_DEPENDENCIES})
|
|
|
|
target_compile_options(PLlibproxy PRIVATE ${PX_PERL_CCFLAGS})
|
2019-11-26 18:40:32 +08:00
|
|
|
set_target_properties(PLlibproxy PROPERTIES OUTPUT_NAME "Libproxy")
|
|
|
|
set_target_properties(PLlibproxy PROPERTIES PREFIX "")
|
2022-12-13 04:18:37 +08:00
|
|
|
-
|
2019-11-26 18:40:32 +08:00
|
|
|
-install( TARGETS PLlibproxy DESTINATION ${PX_PERL_ARCH}/auto/Net/Libproxy )
|
2022-12-13 04:18:37 +08:00
|
|
|
diff --git a/bindings/python/python2/CMakeLists.txt b/bindings/python/python2/CMakeLists.txt
|
|
|
|
index f4d2b91..a79decc 100644
|
|
|
|
--- a/bindings/python/python2/CMakeLists.txt
|
|
|
|
+++ b/bindings/python/python2/CMakeLists.txt
|
|
|
|
@@ -21,5 +21,4 @@ if(PYTHON2INTERP_FOUND)
|
|
|
|
|
|
|
|
message(STATUS "Using PYTHON2_SITEPKG_DIR=${PYTHON2_SITEPKG_DIR}")
|
|
|
|
|
|
|
|
- install(FILES ../libproxy.py DESTINATION ${PYTHON2_SITEPKG_DIR})
|
|
|
|
endif()
|
|
|
|
diff --git a/bindings/python/python3/CMakeLists.txt b/bindings/python/python3/CMakeLists.txt
|
|
|
|
index fc3b24b..a13b6b7 100644
|
|
|
|
--- a/bindings/python/python3/CMakeLists.txt
|
|
|
|
+++ b/bindings/python/python3/CMakeLists.txt
|
|
|
|
@@ -21,5 +21,4 @@ if(PYTHON3INTERP_FOUND)
|
|
|
|
|
|
|
|
message(STATUS "Using PYTHON3_SITEPKG_DIR=${PYTHON3_SITEPKG_DIR}")
|
|
|
|
|
|
|
|
- install(FILES ../libproxy.py DESTINATION ${PYTHON3_SITEPKG_DIR})
|
|
|
|
endif()
|