From 756457c1c01e85ef430f4cb3617c304455fe047b Mon Sep 17 00:00:00 2001 From: topazus Date: Fri, 28 Apr 2023 15:57:14 +0800 Subject: [PATCH] Install CMake configuration files into ${CMAKE_INSTALL_LIBDIR}/cmake/draco --- cmake/draco_install.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/draco_install.cmake b/cmake/draco_install.cmake index 3be1ba16..02d27bd0 100644 --- a/cmake/draco_install.cmake +++ b/cmake/draco_install.cmake @@ -97,7 +97,7 @@ macro(draco_setup_install_target) configure_package_config_file( "${draco_root}/cmake/draco-config.cmake.template" "${draco_build}/draco-config.cmake" - INSTALL_DESTINATION "${data_path}/cmake/draco") + INSTALL_DESTINATION "${libs_path}/cmake/draco") write_basic_package_version_file( "${draco_build}/draco-config-version.cmake" @@ -113,9 +113,9 @@ macro(draco_setup_install_target) EXPORT dracoExport NAMESPACE draco:: FILE draco-targets.cmake - DESTINATION "${data_path}/cmake/draco") + DESTINATION "${libs_path}/cmake/draco") install(FILES "${draco_build}/draco-config.cmake" "${draco_build}/draco-config-version.cmake" - DESTINATION "${data_path}/cmake/draco") + DESTINATION "${libs_path}/cmake/draco") endmacro()