diff options
author | Brad King <brad.king@kitware.com> | 2013-05-23 13:10:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-05-23 13:21:45 (GMT) |
commit | a97240b969c8ce48f728ee113f47f9c2ba598aeb (patch) | |
tree | 8dcf848166fb4f2846d02a5e9d62b83da3a4b912 /Tests/IncludeDirectories | |
parent | 2f84dfec93b6a5d8b4db89bafe09688382b96997 (diff) | |
download | CMake-a97240b969c8ce48f728ee113f47f9c2ba598aeb.zip CMake-a97240b969c8ce48f728ee113f47f9c2ba598aeb.tar.gz CMake-a97240b969c8ce48f728ee113f47f9c2ba598aeb.tar.bz2 |
Tests/IncludeDirectories: Avoid shared library with no symbols
The parent commit added a empty_entry_test shared library to the
IncludeDirectories test. Some toolchains fail to create a shared
library with no user-defined symbols, so provide a dummy symbol.
Diffstat (limited to 'Tests/IncludeDirectories')
-rw-r--r-- | Tests/IncludeDirectories/empty.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Tests/IncludeDirectories/empty.cpp b/Tests/IncludeDirectories/empty.cpp index ab32cf6..1787013 100644 --- a/Tests/IncludeDirectories/empty.cpp +++ b/Tests/IncludeDirectories/empty.cpp @@ -1 +1,4 @@ -// No content +#ifdef _WIN32 +__declspec(dllexport) +#endif +int empty() { return 0; } |