From 1919cfc793dd8c5085da24f8d8658ec34dd74947 Mon Sep 17 00:00:00 2001 From: "romain.biessy" Date: Thu, 5 Dec 2024 12:25:37 +0000 Subject: [PATCH] [cmake] Fix install step * Fix path to MKLConfig.cmake * Minor fix of call to add_deprecated_library --- cmake/CMakeLists.txt | 2 +- src/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index b564414df..df7d2fc4c 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -21,7 +21,7 @@ install(FILES FindCompiler.cmake DESTINATION "lib/cmake/${PROJECT_NAME}" ) if(ENABLE_MKLGPU_BACKEND OR ENABLE_MKLCPU_BACKEND) - install(FILES math/MKLConfig.cmake + install(FILES mkl/MKLConfig.cmake DESTINATION "lib/cmake/${PROJECT_NAME}" ) endif() diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 9ff24a721..9e844968d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -149,5 +149,5 @@ if(BUILD_SHARED_LIBS) LIBRARY DESTINATION lib ) - add_deprecated_library(onemkl onemath) + add_deprecated_library(onemkl) endif()