From 9ef6dd53915d8fd336e1d8f28a599a33c6ff521a Mon Sep 17 00:00:00 2001 From: Craig Tyler <43353094+tcraigtyler@users.noreply.github.com> Date: Mon, 10 Feb 2020 17:03:38 -0800 Subject: [PATCH] Install cmake files into same directory --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9363c0d8..9f45c873 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -274,7 +274,7 @@ configure_package_config_file( install(FILES ${CMAKE_CURRENT_BINARY_DIR}/cmake/${PROJECT_NAME}Config.cmake ${CMAKE_CURRENT_BINARY_DIR}/cmake/${PROJECT_NAME}ConfigVersion.cmake - DESTINATION lib/cmake/${PROJECT_NAME}) + DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}) # Optional additional targets: