summaryrefslogtreecommitdiffstats
path: root/Tests/Complex
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Complex')
-rw-r--r--Tests/Complex/Executable/complex.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/Complex/Executable/complex.cxx b/Tests/Complex/Executable/complex.cxx
index 730510d..97e382a 100644
--- a/Tests/Complex/Executable/complex.cxx
+++ b/Tests/Complex/Executable/complex.cxx
@@ -104,6 +104,11 @@ int main()
{
std::string lib = BINARY_DIR;
lib += "/bin/";
+#ifdef CMAKE_INTDIR
+ lib += CMAKE_INTDIR;
+ lib += "/";
+#endif
+
lib += cmDynamicLoader::LibPrefix();
lib += "CMakeTestModule";
lib += cmDynamicLoader::LibExtension();