diff options
-rw-r--r-- | Help/command/target_link_libraries.rst | 6 | ||||
-rw-r--r-- | Source/cmServerConnection.cxx | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Help/command/target_link_libraries.rst b/Help/command/target_link_libraries.rst index d903d05..90b6575 100644 --- a/Help/command/target_link_libraries.rst +++ b/Help/command/target_link_libraries.rst @@ -62,6 +62,12 @@ Each ``<item>`` may be: dependencies, so they are generally safe to specify only as private link items that will not propagate to dependents. + Link flags specified here are inserted into the link command in the same + place as the link libraries. This might not be correct, depending on + the linker. Use the :prop_tgt:`LINK_FLAGS` target property to add link + flags explicitly. The flags will then be placed at the toolchain-defined + flag position in the link command. + * A ``debug``, ``optimized``, or ``general`` keyword immediately followed by another ``<item>``. The item following such a keyword will be used only for the corresponding build configuration. The ``debug`` keyword diff --git a/Source/cmServerConnection.cxx b/Source/cmServerConnection.cxx index c62ca3c..c9822d3 100644 --- a/Source/cmServerConnection.cxx +++ b/Source/cmServerConnection.cxx @@ -164,6 +164,7 @@ void cmServerConnection::ReadData(const std::string& data) void cmServerConnection::HandleEof() { + this->FileMonitor()->StopMonitoring(); this->TearDown(); } |