[opengm] 27/50: Use more selective install target for the Python interface
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Sun Nov 1 17:14:45 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository opengm.
commit 1751dd40471a14add84544de8364350c9b8318f9
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Thu Oct 22 23:52:15 2015 +0100
Use more selective install target for the Python interface
---
CMakeLists.txt | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cb878f2..21462aa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -691,12 +691,12 @@ if(BUILD_PYTHON_WRAPPER)
#find_path(PYTHON_MODULE_INSTALL )
install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/src/interfaces/python/opengm"
- DESTINATION "lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages"
- PATTERN ".py"
- PATTERN ".so"
- PATTERN ".git" EXCLUDE
- PATTERN ".txt" EXCLUDE
- PATTERN ".hxx" EXCLUDE )
+ DESTINATION "lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages"
+ FILES_MATCHING
+ PATTERN "*.py"
+ PATTERN "*.so"
+ PATTERN "CMakeFiles" EXCLUDE
+ )
endif()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opengm.git
More information about the debian-science-commits
mailing list