Module: kamailio
Branch: master
Commit: 5433322c1f06a74f58b1ad1b44d221cfe1452bb2
URL: 
https://github.com/kamailio/kamailio/commit/5433322c1f06a74f58b1ad1b44d221cfe1452bb2

Author: Xenofon Karamanos <x...@gilawa.com>
Committer: Xenofon Karamanos <x...@gilawa.com>
Date: 2024-12-31T10:58:39Z

cmake: Install core readme and install readme

---

Modified: src/CMakeLists.txt

---

Diff:  
https://github.com/kamailio/kamailio/commit/5433322c1f06a74f58b1ad1b44d221cfe1452bb2.diff
Patch: 
https://github.com/kamailio/kamailio/commit/5433322c1f06a74f58b1ad1b44d221cfe1452bb2.patch

---

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 0faa97fffad..7424b599acf 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -90,8 +90,9 @@ set_target_properties(
   kamailio PROPERTIES ENABLE_EXPORTS TRUE OUTPUT_NAME ${MAIN_NAME}
 )
 
-target_compile_options(kamailio
-                       PUBLIC "-ffile-prefix-map=${CMAKE_SOURCE_DIR}/src/=")
+target_compile_options(
+  kamailio PUBLIC "-ffile-prefix-map=${CMAKE_SOURCE_DIR}/src/="
+)
 
 add_subdirectory(core)
 add_subdirectory(lib)
@@ -143,8 +144,15 @@ install(
   COMPONENT kamailio-core
 )
 
-# Install the configuration file (kamailio.cfg) ${CFG_NAME} using a CODE block 
to check
-# existence at install time instead of configure time
+# Install the docs of core
+install(
+  FILES ${CMAKE_SOURCE_DIR}/README ${CMAKE_SOURCE_DIR}/INSTALL
+  DESTINATION ${CMAKE_INSTALL_DOCDIR}
+  COMPONENT kamailio-docs
+)
+
+# Install the configuration file (kamailio.cfg) ${CFG_NAME} using a CODE block
+# to check  existence at install time instead of configure time
 # If(EXISTS ..) require full path
 install(
   CODE "

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to