1
0
mirror of synced 2024-12-22 12:40:00 +01:00

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

This commit is contained in:
Pavel 2019-01-09 10:18:57 +00:00
parent 0168a1297a
commit f94d9bd711

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