summaryrefslogtreecommitdiffstats
path: root/Help/command/install.rst
diff options
context:
space:
mode:
authorJohn Freeman <jfreeman08@gmail.com>2019-05-25 18:57:08 (GMT)
committerJohn Freeman <jfreeman08@gmail.com>2019-05-26 14:09:07 (GMT)
commitb7b7f1806acf8aabd5cd99e3d08fac15f4f95bdc (patch)
tree7830ffceeb141db311de738589eab6a0b7f1c3f4 /Help/command/install.rst
parente32f8393388d28de7d713f35d076a33060368ec3 (diff)
downloadCMake-b7b7f1806acf8aabd5cd99e3d08fac15f4f95bdc.zip
CMake-b7b7f1806acf8aabd5cd99e3d08fac15f4f95bdc.tar.gz
CMake-b7b7f1806acf8aabd5cd99e3d08fac15f4f95bdc.tar.bz2
Help: Fix typo in install(EXPORT_ANDROID_MK) example
Diffstat (limited to 'Help/command/install.rst')
-rw-r--r--Help/command/install.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Help/command/install.rst b/Help/command/install.rst
index 7571aae..ab6fef6 100644
--- a/Help/command/install.rst
+++ b/Help/command/install.rst
@@ -660,9 +660,9 @@ and installed by the current project. For example, the code
install(TARGETS myexe EXPORT myproj DESTINATION bin)
install(EXPORT myproj NAMESPACE mp_ DESTINATION lib/myproj)
- install(EXPORT_ANDROID_MK myexp DESTINATION share/ndk-modules)
+ install(EXPORT_ANDROID_MK myproj DESTINATION share/ndk-modules)
-will install the executable myexe to ``<prefix>/bin`` and code to import
+will install the executable ``myexe`` to ``<prefix>/bin`` and code to import
it in the file ``<prefix>/lib/myproj/myproj.cmake`` and
``<prefix>/share/ndk-modules/Android.mk``. An outside project
may load this file with the include command and reference the ``myexe``