1
0
mirror of synced 2024-06-05 12:17:57 +02:00

Merge branch 'patch-1' into 'master'

Update installing.md, `install(TARGET...` replaced by `install(TARGETS...`

See merge request CLIUtils/modern-cmake!8
This commit is contained in:
Henry Schreiner 2019-02-01 07:26:44 +00:00
commit 026b5e8ed3

View File

@ -3,7 +3,7 @@
Install commands cause a file or target to be "installed" into the install tree when you `make install`. Your basic target install command looks like this: Install commands cause a file or target to be "installed" into the install tree when you `make install`. Your basic target install command looks like this:
```cmake ```cmake
install(TARGET MyLib install(TARGETS MyLib
EXPORT MyLibTargets EXPORT MyLibTargets
LIBRARY DESTINATION lib LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib ARCHIVE DESTINATION lib