diff options
author | Betsy McPhail <betsy.mcphail@kitware.com> | 2020-01-09 19:21:52 (GMT) |
---|---|---|
committer | Betsy McPhail <betsy.mcphail@kitware.com> | 2020-01-10 16:38:00 (GMT) |
commit | a7d25358a0ad1a9d8c80413dd620e773363e1b76 (patch) | |
tree | 109b9c620eb6f59dc3c27283e2c01e56cdf7f312 /Help/guide/tutorial/Step12 | |
parent | cf2afb10653eb0705760e07f1113aa710ae7e6c3 (diff) | |
download | CMake-a7d25358a0ad1a9d8c80413dd620e773363e1b76.zip CMake-a7d25358a0ad1a9d8c80413dd620e773363e1b76.tar.gz CMake-a7d25358a0ad1a9d8c80413dd620e773363e1b76.tar.bz2 |
Tutorial: Add the PRIVATE keyword to target_link_libraries command
Diffstat (limited to 'Help/guide/tutorial/Step12')
-rw-r--r-- | Help/guide/tutorial/Step12/MathFunctions/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Help/guide/tutorial/Step12/MathFunctions/CMakeLists.txt b/Help/guide/tutorial/Step12/MathFunctions/CMakeLists.txt index f39f537..720ee64 100644 --- a/Help/guide/tutorial/Step12/MathFunctions/CMakeLists.txt +++ b/Help/guide/tutorial/Step12/MathFunctions/CMakeLists.txt @@ -17,7 +17,7 @@ if(USE_MYMATH) # first we add the executable that generates the table add_executable(MakeTable MakeTable.cxx) - target_link_libraries(MakeTable tutorial_compiler_flags) + target_link_libraries(MakeTable PRIVATE tutorial_compiler_flags) # add the command to generate the source code add_custom_command( |