diff options
author | Brad King <brad.king@kitware.com> | 2014-07-15 15:14:49 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-07-16 17:28:44 (GMT) |
commit | 0400cd5dd1be33ebcc2c2d5dba8233a78b1cee68 (patch) | |
tree | 979184257bfc93bfe422bcc489169f97377f405f /Tests/InterfaceLinkLibraries/zot.h | |
parent | a0dc1354fe5effa1ff484b441595f8bdb6da3533 (diff) | |
download | CMake-0400cd5dd1be33ebcc2c2d5dba8233a78b1cee68.zip CMake-0400cd5dd1be33ebcc2c2d5dba8233a78b1cee68.tar.gz CMake-0400cd5dd1be33ebcc2c2d5dba8233a78b1cee68.tar.bz2 |
Make $<LINK_ONLY> available to projects (#14751)
Previously this generator expression was used internally by the
target_link_libraries command to honor private linking requirements of
static libraries in their INTERFACE_LINK_LIBRARIES. Remove the check
that limits $<LINK_ONLY> to this use case to make it available for
project code to use too.
Diffstat (limited to 'Tests/InterfaceLinkLibraries/zot.h')
-rw-r--r-- | Tests/InterfaceLinkLibraries/zot.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/InterfaceLinkLibraries/zot.h b/Tests/InterfaceLinkLibraries/zot.h new file mode 100644 index 0000000..5e4fb1e --- /dev/null +++ b/Tests/InterfaceLinkLibraries/zot.h @@ -0,0 +1,7 @@ + +#include "bar.h" + +#ifdef _WIN32 +__declspec(dllexport) +#endif +int zot(); |