libxpdf/libxpdf-4.02-cmake_install_dirs.patch

22 lines
598 B
Diff

--- libxpdf-4.02/xpdf-4.02/xpdf/CMakeLists.txt.orig 2021-04-05 19:49:27.552405989 +0200
+++ libxpdf-4.02/xpdf-4.02/xpdf/CMakeLists.txt 2021-04-05 19:50:44.402804198 +0200
@@ -291,8 +291,8 @@
INSTALL(TARGETS xpdf
- LIBRARY DESTINATION libxpdf/lib
- ARCHIVE DESTINATION libxpdf/lib
+ LIBRARY DESTINATION lib${LIB_SUFFIX}
+ ARCHIVE DESTINATION lib${LIB_SUFFIX}
)
FILE(GLOB source_headers
@@ -304,6 +304,6 @@
"${PROJECT_SOURCE_DIR}/xpdf/*.h"
)
-INSTALL(FILES ${source_headers} DESTINATION libxpdf/include)
+INSTALL(FILES ${source_headers} DESTINATION include/libxpdf)