diff --git a/CMakeLists.txt b/CMakeLists.txt index 2ca50a6..63ea5b1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required (VERSION 3.5...3.27) -project (utf8cpp +project (utf8cpp VERSION 4.0.1 LANGUAGES CXX DESCRIPTION "C++ portable library for working with utf-8 encoding") @@ -10,7 +10,7 @@ include(GNUInstallDirs) target_include_directories(utf8cpp INTERFACE "$" - $ + $ ) include(CMakePackageConfigHelpers) @@ -44,5 +44,6 @@ install(FILES "${PROJECT_BINARY_DIR}/${PROJECT_NAME}Config.cmake" "${PROJECT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake" DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/${PROJECT_NAME}/cmake) -install(FILES ${PROJECT_SOURCE_DIR}/source/utf8.h DESTINATION include) -install(DIRECTORY ${PROJECT_SOURCE_DIR}/source/utf8 DESTINATION include) +install(FILES ${PROJECT_SOURCE_DIR}/source/utf8.h DESTINATION include/utf8cpp) +install(DIRECTORY ${PROJECT_SOURCE_DIR}/source/utf8 DESTINATION + include/utf8cpp)