summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-08-10 16:55:41 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-08-10 16:55:41 (GMT)
commite59e9d0e5972ef251157d412d4a0ae341caa379f (patch)
tree01ed394b0de6b1bd7a5d28b1afa5f14453231f72 /Tests
parentb058a5e1aa8ac7c54552eff5519a9b43ab20a08d (diff)
downloadCMake-e59e9d0e5972ef251157d412d4a0ae341caa379f.zip
CMake-e59e9d0e5972ef251157d412d4a0ae341caa379f.tar.gz
CMake-e59e9d0e5972ef251157d412d4a0ae341caa379f.tar.bz2
ENH: fix bug 2087 lib prefix stripped off on windows
Diffstat (limited to 'Tests')
-rw-r--r--Tests/Complex/Executable/complex.cxx1
-rw-r--r--Tests/ComplexOneConfig/Executable/complex.cxx1
-rw-r--r--Tests/ComplexRelativePaths/Executable/complex.cxx1
3 files changed, 3 insertions, 0 deletions
diff --git a/Tests/Complex/Executable/complex.cxx b/Tests/Complex/Executable/complex.cxx
index 1a35978..43eb109 100644
--- a/Tests/Complex/Executable/complex.cxx
+++ b/Tests/Complex/Executable/complex.cxx
@@ -56,6 +56,7 @@ bool TestLibraryOrder(bool shouldFail)
orderLibs.DebugOn();
orderLibs.AddLinkExtension(".so");
orderLibs.AddLinkExtension(".a");
+ orderLibs.SetLinkPrefix("lib");
orderLibs.SetLinkInformation(target, cmTarget::GENERAL, "A");
bool ret = orderLibs.DetermineLibraryPathOrder();
orderLibs.GetLinkerInformation(sortedpaths, linkItems);
diff --git a/Tests/ComplexOneConfig/Executable/complex.cxx b/Tests/ComplexOneConfig/Executable/complex.cxx
index 1a35978..43eb109 100644
--- a/Tests/ComplexOneConfig/Executable/complex.cxx
+++ b/Tests/ComplexOneConfig/Executable/complex.cxx
@@ -56,6 +56,7 @@ bool TestLibraryOrder(bool shouldFail)
orderLibs.DebugOn();
orderLibs.AddLinkExtension(".so");
orderLibs.AddLinkExtension(".a");
+ orderLibs.SetLinkPrefix("lib");
orderLibs.SetLinkInformation(target, cmTarget::GENERAL, "A");
bool ret = orderLibs.DetermineLibraryPathOrder();
orderLibs.GetLinkerInformation(sortedpaths, linkItems);
diff --git a/Tests/ComplexRelativePaths/Executable/complex.cxx b/Tests/ComplexRelativePaths/Executable/complex.cxx
index 1a35978..43eb109 100644
--- a/Tests/ComplexRelativePaths/Executable/complex.cxx
+++ b/Tests/ComplexRelativePaths/Executable/complex.cxx
@@ -56,6 +56,7 @@ bool TestLibraryOrder(bool shouldFail)
orderLibs.DebugOn();
orderLibs.AddLinkExtension(".so");
orderLibs.AddLinkExtension(".a");
+ orderLibs.SetLinkPrefix("lib");
orderLibs.SetLinkInformation(target, cmTarget::GENERAL, "A");
bool ret = orderLibs.DetermineLibraryPathOrder();
orderLibs.GetLinkerInformation(sortedpaths, linkItems);