diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2003-01-16 13:28:45 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2003-01-16 13:28:45 (GMT) |
commit | 6695fa300bad1a2ba28bf4101097487f256fdd0b (patch) | |
tree | ff2f09ebf1e2852178d79764def0e741f44c877c /Tests | |
parent | 424a56c6f7ea3401a70dc21cc09fd97b710f1d35 (diff) | |
download | CMake-6695fa300bad1a2ba28bf4101097487f256fdd0b.zip CMake-6695fa300bad1a2ba28bf4101097487f256fdd0b.tar.gz CMake-6695fa300bad1a2ba28bf4101097487f256fdd0b.tar.bz2 |
ENH: add the config directory to look for the loadable module
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/Complex/Executable/complex.cxx | 5 | ||||
-rw-r--r-- | Tests/ComplexOneConfig/Executable/complex.cxx | 5 | ||||
-rw-r--r-- | Tests/ComplexRelativePaths/Executable/complex.cxx | 5 |
3 files changed, 15 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(); diff --git a/Tests/ComplexOneConfig/Executable/complex.cxx b/Tests/ComplexOneConfig/Executable/complex.cxx index 730510d..97e382a 100644 --- a/Tests/ComplexOneConfig/Executable/complex.cxx +++ b/Tests/ComplexOneConfig/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(); diff --git a/Tests/ComplexRelativePaths/Executable/complex.cxx b/Tests/ComplexRelativePaths/Executable/complex.cxx index 730510d..97e382a 100644 --- a/Tests/ComplexRelativePaths/Executable/complex.cxx +++ b/Tests/ComplexRelativePaths/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(); |