gentoo-ebuilds/dev-cpp/pystring/files/install_header_file.patch
Sebastian Parborg 4b6bedcedf
dev-cpp/pystring: Bump to 1.1.4
Closes: https://bugs.gentoo.org/943179
Signed-off-by: Sebastian Parborg <darkdefende@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/39761
Signed-off-by: Sam James <sam@gentoo.org>
2024-12-22 01:27:54 +00:00

15 lines
405 B
Diff

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