diff --git a/CMakeLists.txt b/CMakeLists.txt index ec64768..ae1cdb3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,7 +30,7 @@ add_library(${PROJECT_NAME} INTERFACE) target_include_directories(${PROJECT_NAME} INTERFACE $ - $) + $) #--- Package include(CMakePackageConfigHelpers) @@ -58,7 +58,7 @@ install(EXPORT ${PROJECT_NAME}-targets DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/${PACKAGE_NAME}/cmake/) install(FILES ${LIBRARY_HEADERS} - DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PACKAGE_NAME}-config.cmake