Explorar o código

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.
Adrien Ollier %!s(int64=2) %!d(string=hai) anos
pai
achega
b7704e8818
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Help/guide/importing-exporting/index.rst

+ 2 - 2
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 )
    add_executable(myexe src1.c src2.c )
    target_link_libraries(myexe PRIVATE MathFunctions::MathFunctions)
    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
 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
 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.
 resulting build system will link to the library from its installed location.
 
 
 Executables may also be exported and imported using the same process.
 Executables may also be exported and imported using the same process.