diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2020-06-16 19:43:32 (GMT) |
---|---|---|
committer | Robert Maynard <robert.maynard@kitware.com> | 2020-06-16 19:43:32 (GMT) |
commit | 7c3204fc7d6c2445d7eee3241b24d741a96e271d (patch) | |
tree | 9fb052d949849f38c55574b8c935bc7f7a0fb2e0 /Help | |
parent | f2c1debe403c4e9929a6dc2b1b6f63a7f6b052cc (diff) | |
download | CMake-7c3204fc7d6c2445d7eee3241b24d741a96e271d.zip CMake-7c3204fc7d6c2445d7eee3241b24d741a96e271d.tar.gz CMake-7c3204fc7d6c2445d7eee3241b24d741a96e271d.tar.bz2 |
Tutorial: Correct Step9 wording
on some platforms -fPIC is implicit so you won't get an error
Diffstat (limited to 'Help')
-rw-r--r-- | Help/guide/tutorial/index.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Help/guide/tutorial/index.rst b/Help/guide/tutorial/index.rst index 6e26de9..eb81ee5 100644 --- a/Help/guide/tutorial/index.rst +++ b/Help/guide/tutorial/index.rst @@ -703,7 +703,7 @@ Finally, update ``MathFunctions/MathFunctions.h`` to use dll export defines: .. literalinclude:: Step10/MathFunctions/MathFunctions.h :language: c++ -At this point, if you build everything, you will notice that linking fails +At this point, if you build everything, you may notice that linking fails as we are combining a static library without position independent code with a library that has position independent code. The solution to this is to explicitly set the :prop_tgt:`POSITION_INDEPENDENT_CODE` target property of |