void-packages/srcpkgs/belr/patches/cmake.patch

12 lines
529 B
Diff
Raw Normal View History

2024-07-01 23:04:26 +02:00
--- a/CMakeLists.txt 2024-07-03 17:08:00.573354975 +0200
+++ - 2024-07-03 17:08:39.114753742 +0200
@@ -123,7 +123,7 @@
endif()
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("${PROJECT_NAME}Config.cmake.in" "${PROJECT_BINARY_DIR}/${PROJECT_NAME}Config.cmake"
INSTALL_DESTINATION "${CMAKE_MODULES_INSTALL_DIR}"
NO_SET_AND_CHECK_MACRO