File: 01-fix-cmake-install-path.patch

package info (click to toggle)
bcmatroska2 5.1.20-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,976 kB
  • sloc: ansic: 70,671; asm: 3,191; cpp: 3,011; makefile: 563; pascal: 457; xml: 227; sh: 189; php: 182
file content (11 lines) | stat: -rw-r--r-- 353 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -77,7 +77,7 @@
 )
 
 include(CMakePackageConfigHelpers)
-set(CONFIG_PACKAGE_LOCATION "${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME}/cmake")
+set(CONFIG_PACKAGE_LOCATION "${CMAKE_INSTALL_FULL_LIBDIR}/cmake/${PROJECT_NAME}")
 
 write_basic_package_version_file(
 	${CMAKE_BINARY_DIR}/BcMatroska2ConfigVersion.cmake