Index: QCodeEditor/CMakeLists.txt
===================================================================
--- QCodeEditor.orig/CMakeLists.txt
+++ QCodeEditor/CMakeLists.txt
@@ -110,3 +110,10 @@ target_link_libraries(QCodeEditor
     Qt5::Widgets
     Qt5::Gui
 )
+
+include(GNUInstallDirs)
+Set_target_properties(QCodeEditor PROPERTIES PUBLIC_HEADER "${INCLUDE_FILES}")
+install(TARGETS QCodeEditor
+        LIBRARY       DESTINATION  ${CMAKE_INSTALL_LIBDIR}
+        PUBLIC_HEADER DESTINATION  ${CMAKE_INSTALL_INCLUDEDIR}/QCodeEditor)
+
