[opengm] 26/50: Use more selective install target for public OpenGM headers

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 10f02f4e6271ff0a3376c0501cdb65ff869253c6
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Thu Oct 22 23:36:02 2015 +0100

    Use more selective install target for public OpenGM headers
---
 CMakeLists.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index cb878f2..5fc6bb3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -639,7 +639,10 @@ endif()
 #--------------------------------------------------------------
 # install
 #--------------------------------------------------------------
-install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include/opengm" DESTINATION include PATTERN ".hxx" PATTERN ".git" EXCLUDE)
+install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include/opengm"
+  DESTINATION include
+  FILES_MATCHING PATTERN "*.hxx"
+)
 
 #--------------------------------------------------------------
 # test and install opengm python

-- 
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