libansilove

Library for converting ANSI, ASCII, and other formats to PNG
Log | Files | Refs | README | LICENSE

commit dc5bcf29b95c3808090f3d98214c1f10ad24cf3c
parent 30e930e9d77c73b709f5f440e95e4ea49f456a45
Author: Frederic Cambus <fred@statdns.com>
Date:   Sun, 17 Nov 2019 23:04:39 +0100

Use CMAKE_INSTALL_{LIB,INCLUDE}DIR instead of hardcoding directories.

Diffstat:
MCMakeLists.txt | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt @@ -35,6 +35,6 @@ target_link_libraries(ansilove ${GD_LIBRARIES} m) set_target_properties(ansilove PROPERTIES VERSION ${LIB_VERSION_STRING} SOVERSION ${LIB_VERSION_MAJOR}) -install(TARGETS ansilove DESTINATION lib) -install(FILES include/ansilove.h DESTINATION include) +install(TARGETS ansilove DESTINATION ${CMAKE_INSTALL_LIBDIR}) +install(FILES include/ansilove.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) install(FILES libansilove.3 DESTINATION ${CMAKE_INSTALL_MANDIR}/man3/)