--- libgd-gd-2.3.3/src/CMakeLists.txt.orig 2021-09-11 07:09:44.000000000 +0000 +++ libgd-gd-2.3.3/src/CMakeLists.txt 2021-10-02 10:03:15.994404204 +0000 @@ -177,10 +177,10 @@ endif() install(TARGETS ${GD_INSTALL_TARGETS} - RUNTIME DESTINATION bin + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) -install(PROGRAMS bdftogd DESTINATION bin) +install(PROGRAMS bdftogd DESTINATION ${CMAKE_INSTALL_BINDIR}) install(FILES gd.h gd_color_map.h @@ -194,7 +194,7 @@ gdfontt.h gdfx.h gdpp.h - DESTINATION include) + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) CONFIGURE_FILE(../config/gdlib.pc.cmake gdlib.pc @ONLY) INSTALL(FILES "${CMAKE_CURRENT_BINARY_DIR}/gdlib.pc" DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")