CMake/Tests/IncludeDirectories/empty.cpp
Brad King a97240b969 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.
2013-05-23 09:21:45 -04:00

5 lines
69 B
C++

#ifdef _WIN32
__declspec(dllexport)
#endif
int empty() { return 0; }