summaryrefslogtreecommitdiffstats
path: root/Tests/Complex
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-03-16 22:20:09 (GMT)
committerBrad King <brad.king@kitware.com>2006-03-16 22:20:09 (GMT)
commitf430ad0ea25cd55bbc6be1d1627da03df260630d (patch)
treebb73e54655b0c18bedb9af5b477e780a940099f8 /Tests/Complex
parent1d38a3e09e071e16c38d46a7bd67e1730bbee7ab (diff)
downloadCMake-f430ad0ea25cd55bbc6be1d1627da03df260630d.zip
CMake-f430ad0ea25cd55bbc6be1d1627da03df260630d.tar.gz
CMake-f430ad0ea25cd55bbc6be1d1627da03df260630d.tar.bz2
BUG: Removed compiled-in CMAKE_SHARED_MODULE_PREFIX and CMAKE_SHARED_MODULE_SUFFIX for loaded commands in favor of using the settings from the platform files.
Diffstat (limited to 'Tests/Complex')
-rw-r--r--Tests/Complex/Executable/complex.cxx4
-rw-r--r--Tests/Complex/cmTestConfigure.h.in3
2 files changed, 5 insertions, 2 deletions
diff --git a/Tests/Complex/Executable/complex.cxx b/Tests/Complex/Executable/complex.cxx
index e07845c..81ef44e 100644
--- a/Tests/Complex/Executable/complex.cxx
+++ b/Tests/Complex/Executable/complex.cxx
@@ -325,9 +325,9 @@ int main()
cmPassed("run Single Character executable A returned 10 as expected.");
}
- lib += cmDynamicLoader::LibPrefix();
+ lib += CMAKE_SHARED_MODULE_PREFIX;
lib += "CMakeTestModule";
- lib += cmDynamicLoader::LibExtension();
+ lib += CMAKE_SHARED_MODULE_SUFFIX;
cmsys::DynamicLoader::LibraryHandle handle = cmDynamicLoader::OpenLibrary(lib.c_str());
if(!handle)
{
diff --git a/Tests/Complex/cmTestConfigure.h.in b/Tests/Complex/cmTestConfigure.h.in
index f2017ab..c8600cb 100644
--- a/Tests/Complex/cmTestConfigure.h.in
+++ b/Tests/Complex/cmTestConfigure.h.in
@@ -74,3 +74,6 @@
// Test SET CACHE FORCE
#cmakedefine FORCE_TEST
#define CMAKE_GENERATOR "${CMAKE_GENERATOR}"
+
+#define CMAKE_SHARED_MODULE_PREFIX "${CMAKE_SHARED_MODULE_PREFIX}"
+#define CMAKE_SHARED_MODULE_SUFFIX "${CMAKE_SHARED_MODULE_SUFFIX}"