Module: kamailio Branch: master Commit: 600f5c49f8857f4b17c669c2d74106fe74264d9c URL: https://github.com/kamailio/kamailio/commit/600f5c49f8857f4b17c669c2d74106fe...
Author: Xenofon Karamanos xk@gilawa.com Committer: Xenofon Karamanos xk@gilawa.com Date: 2024-12-30T15:49:04Z
cmake: Fix path for installing utils-bin and utils-cfg
---
Modified: utils/kamctl/CMakeLists.txt
---
Diff: https://github.com/kamailio/kamailio/commit/600f5c49f8857f4b17c669c2d74106fe... Patch: https://github.com/kamailio/kamailio/commit/600f5c49f8857f4b17c669c2d74106fe...
---
diff --git a/utils/kamctl/CMakeLists.txt b/utils/kamctl/CMakeLists.txt index 75208d63222..fd98e7b8d84 100644 --- a/utils/kamctl/CMakeLists.txt +++ b/utils/kamctl/CMakeLists.txt @@ -126,24 +126,29 @@ install( " COMPONENT kamailio-utils-cfg)
+# Install targets + # Custom target for installing the kamailio-cfg component add_custom_target( install-kamailio-utils-cfg - COMMAND ${CMAKE_COMMAND} --install . --component kamailio-utils-cfg + COMMAND ${CMAKE_COMMAND} --install ${CMAKE_BINARY_DIR} --component + kamailio-utils-cfg COMMENT "Installing kamailio-utils-cfg component")
# Custom target for installing the kamailio-utils-bin component add_custom_target( install-kamailio-utils-bin - COMMAND ${CMAKE_COMMAND} --install . --component kamailio-utils-bin + COMMAND ${CMAKE_COMMAND} --install ${CMAKE_BINARY_DIR} --component + kamailio-utils-bin COMMENT "Installing kamailio-utils-bin component" DEPENDS kamctl kamdbctl)
# Custom target for installing the kamailio-utils component -add_custom_target( - install-kamailio-utils # COMMENT "Installing kamailio-utils-cfg and - # kamailio-utils-bin components" - DEPENDS install-kamailio-utils-cfg install-kamailio-utils-bin) +add_custom_target(install-kamailio-utils COMMENT "Installing utils components") +add_dependencies(install-kamailio-utils install-kamailio-utils-cfg + install-kamailio-utils-bin) + +# ----------
# ---------- # dbschema target: Old Makefiles: make dbschema declared in src/ Makefile This