From f94d9bd7115879c8190cd55cdf7c26634ffe0c23 Mon Sep 17 00:00:00 2001 From: Pavel Date: Wed, 9 Jan 2019 10:18:57 +0000 Subject: [PATCH] Update installing.md, `install(TARGET...` replaced by `install(TARGETS...` --- chapters/install/installing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapters/install/installing.md b/chapters/install/installing.md index 88fbd31..fb64c8e 100644 --- a/chapters/install/installing.md +++ b/chapters/install/installing.md @@ -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: ```cmake -install(TARGET MyLib +install(TARGETS MyLib EXPORT MyLibTargets LIBRARY DESTINATION lib ARCHIVE DESTINATION lib