Debian Codegraph @

debian/patches/added-install-rule.patch

raw
1 Index: QCodeEditor/CMakeLists.txt
2 ===================================================================
3 --- QCodeEditor.orig/CMakeLists.txt
4 +++ QCodeEditor/CMakeLists.txt
5 @@ -110,3 +110,10 @@ target_link_libraries(QCodeEditor
6 Qt5::Widgets
7 Qt5::Gui
8 )
9 +
10 +include(GNUInstallDirs)
11 +Set_target_properties(QCodeEditor PROPERTIES PUBLIC_HEADER "${INCLUDE_FILES}")
12 +install(TARGETS QCodeEditor
13 + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
14 + PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/QCodeEditor)
15 +