Skip to content

Commit 57da1f7

Browse files
authored
Update CMakeLists.txt (#26)
Fix CMake error "install DIRECTORY given no DESTINATION!"
1 parent cc4e80c commit 57da1f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ if(DBC_GENERATE_SINGLE_HEADER)
9595
endif()
9696

9797
## Installation
98+
include(GNUInstallDirs)
9899
# install lib
99100
install(TARGETS ${PROJECT_NAME}
100101
DESTINATION ${CMAKE_INSTALL_LIBDIR})

0 commit comments

Comments
 (0)