utf8proc

A clean C library for processing UTF-8 Unicode data
git clone https://git.sinitax.com/juliastrings/utf8proc
Log | Files | Refs | README | LICENSE | sfeed.txt

commit 462093b3924c7491defc67fda4bc7a27baf9b088
parent 93a88b43107eccf09eea399a3b7a6767092d4488
Author: extrowerk <5569059+extrowerk@users.noreply.github.com>
Date:   Thu, 15 Apr 2021 15:32:23 +0200

GNUInstallDirs support (#159)


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

diff --git a/CMakeLists.txt b/CMakeLists.txt @@ -51,15 +51,17 @@ set_target_properties (utf8proc PROPERTIES ) if (UTF8PROC_INSTALL) + include(GNUInstallDirs) + mark_as_advanced(CLEAR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_INCLUDEDIR) install(TARGETS utf8proc - RUNTIME DESTINATION bin - LIBRARY DESTINATION lib - ARCHIVE DESTINATION lib) + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}${INSTALL_SUFFIX} + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}${INSTALL_SUFFIX}) install( FILES "${PROJECT_SOURCE_DIR}/utf8proc.h" - DESTINATION include) + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}${INSTALL_SUFFIX}) endif() if(UTF8PROC_ENABLE_TESTING)