diff options
author | Adrien Ollier <adr.ollier@hotmail.fr> | 2023-08-07 21:13:40 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-08-07 22:39:03 (GMT) |
commit | b7704e88186ed2bc663fad2e7c50e74db5ec6645 (patch) | |
tree | 08fb4d9b98d302028d43a3080ea5563f3fe6ad25 | |
parent | cbcd2978268a31fde7e9893dd0da13659dadd166 (diff) | |
download | CMake-b7704e88186ed2bc663fad2e7c50e74db5ec6645.zip CMake-b7704e88186ed2bc663fad2e7c50e74db5ec6645.tar.gz CMake-b7704e88186ed2bc663fad2e7c50e74db5ec6645.tar.bz2 |
Help/guide/importing-exporting: Update line numbers in prose
These were missed in commit aef057d0e8 (Help/guide: fix
MathFunctionsTargets.cmake path in importing-exporting, 2023-05-26,
v3.27.0-rc1~39^2) when a line was added to the example code.
-rw-r--r-- | Help/guide/importing-exporting/index.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Help/guide/importing-exporting/index.rst b/Help/guide/importing-exporting/index.rst index b1812c1..91c50dd 100644 --- a/Help/guide/importing-exporting/index.rst +++ b/Help/guide/importing-exporting/index.rst @@ -322,10 +322,10 @@ were built in its own tree. For example: add_executable(myexe src1.c src2.c ) target_link_libraries(myexe PRIVATE MathFunctions::MathFunctions) -Line 1 loads the target CMake file. Although we only exported a single +Line 2 loads the target CMake file. Although we only exported a single target, this file may import any number of targets. Their locations are computed relative to the file location so that the install tree may be -easily moved. Line 3 references the imported ``MathFunctions`` library. The +easily moved. Line 4 references the imported ``MathFunctions`` library. The resulting build system will link to the library from its installed location. Executables may also be exported and imported using the same process. |