ERR: Fix GetModulesFile
This commit is contained in:
parent
bdd4f8a216
commit
07bd2d8264
@ -2198,6 +2198,7 @@ std::string cmMakefile::GetModulesFile(const char* filename)
|
|||||||
{
|
{
|
||||||
std::string itempl = *i;
|
std::string itempl = *i;
|
||||||
cmSystemTools::ConvertToUnixSlashes(itempl);
|
cmSystemTools::ConvertToUnixSlashes(itempl);
|
||||||
|
itempl += "/";
|
||||||
itempl += filename;
|
itempl += filename;
|
||||||
if(cmSystemTools::FileExists(itempl.c_str()))
|
if(cmSystemTools::FileExists(itempl.c_str()))
|
||||||
{
|
{
|
||||||
|
@ -4,7 +4,7 @@ PROJECT (conly C)
|
|||||||
SET(CMAKE_DEBUG_POSTFIX "_test_debug_postfix")
|
SET(CMAKE_DEBUG_POSTFIX "_test_debug_postfix")
|
||||||
ADD_LIBRARY(testc1 STATIC libc1.c)
|
ADD_LIBRARY(testc1 STATIC libc1.c)
|
||||||
ADD_LIBRARY(testc2 SHARED libc2.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)
|
TARGET_LINK_LIBRARIES(conly testc1 testc2)
|
||||||
|
|
||||||
STRING(ASCII 35 32 67 77 97 107 101 ASCII_STRING)
|
STRING(ASCII 35 32 67 77 97 107 101 ASCII_STRING)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user