From 07bd2d8264b84d46a118d38df44720fc85ff2c6b Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Sun, 29 Feb 2004 15:13:01 -0500 Subject: ERR: Fix GetModulesFile --- Source/cmMakefile.cxx | 1 + Tests/COnly/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v0.12