summaryrefslogtreecommitdiffstats
path: root/Tests/Complex
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-10-05 19:08:20 (GMT)
committerBrad King <brad.king@kitware.com>2006-10-05 19:08:20 (GMT)
commit7ad07e081110923483ae6b428c469a12408ef87d (patch)
tree6f369b445e6ada954464596c952dbae4c094fa6c /Tests/Complex
parent7e92f0b4e449057bff26579596ccd11ee8c3c7e3 (diff)
downloadCMake-7ad07e081110923483ae6b428c469a12408ef87d.zip
CMake-7ad07e081110923483ae6b428c469a12408ef87d.tar.gz
CMake-7ad07e081110923483ae6b428c469a12408ef87d.tar.bz2
BUG: Fix link flags on cygwin shared libraries. This requires that the shared library prefix be supported in the link library regex.
Diffstat (limited to 'Tests/Complex')
-rw-r--r--Tests/Complex/Executable/complex.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/Complex/Executable/complex.cxx b/Tests/Complex/Executable/complex.cxx
index 759cfd9..273e8a2 100644
--- a/Tests/Complex/Executable/complex.cxx
+++ b/Tests/Complex/Executable/complex.cxx
@@ -108,7 +108,7 @@ bool TestLibraryOrder(bool shouldFail)
orderLibs.DebugOn();
orderLibs.AddLinkExtension(".so");
orderLibs.AddLinkExtension(".a");
- orderLibs.SetLinkPrefix("lib");
+ orderLibs.AddLinkPrefix("lib");
cmTargetManifest manifest;
orderLibs.SetLinkInformation("test", linkLibraries, linkDirectories,
manifest, "");