From 069527a4704e401d1d2fdf3a43dfc508072cb7d8 Mon Sep 17 00:00:00 2001 From: ToKiNoBug Date: Thu, 26 Oct 2023 12:58:22 +0800 Subject: [PATCH] fix installing kompute logger header files Signed-off-by: ToKiNoBug --- src/include/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/include/CMakeLists.txt b/src/include/CMakeLists.txt index e1652fdd..e8aea8bf 100644 --- a/src/include/CMakeLists.txt +++ b/src/include/CMakeLists.txt @@ -41,4 +41,7 @@ target_sources(kp_logger PRIVATE kompute/logger/Logger.hpp ) -install(DIRECTORY logger DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) \ No newline at end of file +# This installation requires non-existing dir logger, +# but previous installation at line 30 has already installed kompute/logger +# This will cause an error during installation +# install(DIRECTORY logger DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) \ No newline at end of file