Update installing.md, install(TARGET...
replaced by install(TARGETS...
This commit is contained in:
parent
0168a1297a
commit
f94d9bd711
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user