summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-05-24 13:19:08 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-05-24 13:19:08 (GMT)
commit4ae24a105e418068abe85e300c33a7e6a7754d69 (patch)
treecad5869362b85db1ce46db389b3b430f6986c790 /Tests
parent795e369e6b23e397e6cd8a8fe7769790f7e2800d (diff)
parenta97240b969c8ce48f728ee113f47f9c2ba598aeb (diff)
downloadCMake-4ae24a105e418068abe85e300c33a7e6a7754d69.zip
CMake-4ae24a105e418068abe85e300c33a7e6a7754d69.tar.gz
CMake-4ae24a105e418068abe85e300c33a7e6a7754d69.tar.bz2
Merge topic 'fix-include_directories-whitespace-handling'
a97240b Tests/IncludeDirectories: Avoid shared library with no symbols
Diffstat (limited to 'Tests')
-rw-r--r--Tests/IncludeDirectories/empty.cpp5
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; }