Skip to content

Commit b72842c

Browse files
committed
docs(README): include GNUInstallDirs in cmake non-pkgconfig tip
#1379 (comment)
1 parent a95bbb7 commit b72842c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ A. [ Disclaimer: Here, how to make the completion code visible to
241241
Example for `CMakeLists.txt`:
242242

243243
```cmake
244+
include(GNUInstallDirs)
244245
install(FILES your-completion-file DESTINATION "${CMAKE_INSTALL_DATADIR}/bash-completion/completions")
245246
```
246247

0 commit comments

Comments
 (0)