From e95d84892ec894967c48151f9106bd4388e85e63 Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Tue, 17 May 2022 23:32:22 -0700 Subject: [PATCH] CMake update to keep DirectXMath headers in their own include directory --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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