From 33e017496050cdf6312ee6b2df927770f90ef3cb Mon Sep 17 00:00:00 2001 From: Stefan Gerlach Date: Fri, 26 Apr 2024 13:55:28 +0200 Subject: [PATCH] Update CMakeLists.txt Fix CMake error "install DIRECTORY given no DESTINATION!" --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index cbf2d37..ea27c35 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -95,6 +95,7 @@ if(DBC_GENERATE_SINGLE_HEADER) endif() ## Installation +include(GNUInstallDirs) # install lib install(TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_LIBDIR})