Skip to content

Commit

Permalink
Update CMakeLists.txt (#26)
Browse files Browse the repository at this point in the history
Fix CMake error "install DIRECTORY given no DESTINATION!"
  • Loading branch information
gerlachs authored May 9, 2024
1 parent cc4e80c commit 57da1f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ if(DBC_GENERATE_SINGLE_HEADER)
endif()

## Installation
include(GNUInstallDirs)
# install lib
install(TARGETS ${PROJECT_NAME}
DESTINATION ${CMAKE_INSTALL_LIBDIR})
Expand Down

0 comments on commit 57da1f7

Please sign in to comment.