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:
commit
026b5e8ed3
@ -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