summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-29 20:13:01 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-29 20:13:01 (GMT)
commit07bd2d8264b84d46a118d38df44720fc85ff2c6b (patch)
treea2d61fc6ca1818fd7f7696abc82f28411bea8d89
parentbdd4f8a2165f199575e86d2497e3b305a0bf24cb (diff)
downloadCMake-07bd2d8264b84d46a118d38df44720fc85ff2c6b.zip
CMake-07bd2d8264b84d46a118d38df44720fc85ff2c6b.tar.gz
CMake-07bd2d8264b84d46a118d38df44720fc85ff2c6b.tar.bz2
ERR: Fix GetModulesFile
-rw-r--r--Source/cmMakefile.cxx1
-rw-r--r--Tests/COnly/CMakeLists.txt2
2 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index ecdd3b0..25be6cd 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -2198,6 +2198,7 @@ std::string cmMakefile::GetModulesFile(const char* filename)
{
std::string itempl = *i;
cmSystemTools::ConvertToUnixSlashes(itempl);
+ itempl += "/";
itempl += filename;
if(cmSystemTools::FileExists(itempl.c_str()))
{
diff --git a/Tests/COnly/CMakeLists.txt b/Tests/COnly/CMakeLists.txt
index 228eecb..3e4d4d5 100644
--- a/Tests/COnly/CMakeLists.txt
+++ b/Tests/COnly/CMakeLists.txt
@@ -4,7 +4,7 @@ PROJECT (conly C)
SET(CMAKE_DEBUG_POSTFIX "_test_debug_postfix")
ADD_LIBRARY(testc1 STATIC libc1.c)
ADD_LIBRARY(testc2 SHARED libc2.c)
-ADD_EXECUTABLE (conly conly.c foo.c foo.h)
+ADD_EXECUTABLE (conly MACBUNDLE conly.c foo.c foo.h)
TARGET_LINK_LIBRARIES(conly testc1 testc2)
STRING(ASCII 35 32 67 77 97 107 101 ASCII_STRING)