From 0d6362856f499565c8e59fa58342d004f6bfc82e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pawe=C5=82=20K=C4=99dzia?= <Pawel.Kedzia@pwr.wroc.pl>
Date: Tue, 27 Dec 2011 14:47:51 +0100
Subject: [PATCH] Poliqarp Cmake installing poliqarp headers to
 corpus2_policarp

---
 poliqarp/CMakeLists.txt | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/poliqarp/CMakeLists.txt b/poliqarp/CMakeLists.txt
index 4fb5827..68efa72 100644
--- a/poliqarp/CMakeLists.txt
+++ b/poliqarp/CMakeLists.txt
@@ -19,4 +19,10 @@ target_link_libraries(c2pqtest poliqarpc2 corpus2_poliqarpreader corpus2 pwrutil
 if(UNIX)
 	install(TARGETS corpus2_poliqarpreader LIBRARY DESTINATION lib)
 	install(TARGETS c2pqtest RUNTIME DESTINATION bin)
+	# ${CMAKE_CURRENT_SOURCE_DIR}
+	install(
+		DIRECTORY .
+		DESTINATION include/corpus2_poliqarpreader
+		FILES_MATCHING PATTERN "*.h"
+	)
 endif(UNIX)
-- 
GitLab