blob: 634a1efc050be03fa5abfa5663e8278b12633943 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
Modify Cmake so that it installs the header file
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fed418f..0354c36 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,4 +19,8 @@ include(GNUInstallDirs)
install(TARGETS pystring
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
+install (FILES pystring.h
+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}
+ COMPONENT developer
+)
|