qt-color-widgets/qt-color-widgets-2.2.0-cmake-install-libdir.patch

40 lines
1.2 KiB
Diff

--- Qt-Color-Widgets-2.2.0/cmake/install.cmake.orig 2022-09-12 19:18:05.487645650 +0200
+++ Qt-Color-Widgets-2.2.0/cmake/install.cmake 2022-09-12 19:18:24.941460200 +0200
@@ -11,8 +11,8 @@
EXPORT ${i_target_name}
RUNTIME DESTINATION bin
INCLUDES DESTINATION include
- ARCHIVE DESTINATION lib
- LIBRARY DESTINATION lib)
+ ARCHIVE DESTINATION lib64
+ LIBRARY DESTINATION lib64)
install (DIRECTORY include/
DESTINATION include
@@ -30,7 +30,7 @@
install(
EXPORT ${i_target_name}
- DESTINATION lib/cmake/${i_target_name}${i_target_output_suffix}
+ DESTINATION lib64/cmake/${i_target_name}${i_target_output_suffix}
FILE "${i_target_name}${i_target_output_suffix}.cmake"
COMPONENT Devel)
@@ -55,7 +55,7 @@
@ONLY
)
- set(ConfigPackageLocation "lib/cmake/${i_target_name}${i_target_output_suffix}")
+ set(ConfigPackageLocation "lib64/cmake/${i_target_name}${i_target_output_suffix}")
install(EXPORT ${i_target_name}
FILE
"${CMAKE_BASE_FILE_NAME}${CMAKE_FILE_OUTPUT_SUFFIX}-targets.cmake"
@@ -83,6 +83,6 @@
install(FILES
${CMAKE_CURRENT_BINARY_DIR}/${i_target_name}${i_target_output_suffix}.pc
DESTINATION
- lib/pkgconfig
+ lib64/pkgconfig
)
endfunction (install_project)