void-packages/srcpkgs/belle-sip/patches/cmake.patch

12 lines
520 B
Diff
Raw Normal View History

2024-07-01 23:04:22 +02:00
--- a/CMakeLists.txt 2024-06-27 15:37:37.000000000 +0200
+++ - 2024-07-03 16:55:19.299642100 +0200
@@ -221,7 +221,7 @@
include(CMakePackageConfigHelpers)
-set(CMAKE_MODULES_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}")
+set(CMAKE_MODULES_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}/")
configure_package_config_file("cmake/${PROJECT_NAME}Config.cmake.in" "${PROJECT_BINARY_DIR}/${PROJECT_NAME}Config.cmake"
INSTALL_DESTINATION "${CMAKE_MODULES_INSTALL_DIR}"
NO_SET_AND_CHECK_MACRO