From f5ce41ee39578c1662ea3eebf32bdb597895197e Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 25 Jan 2006 14:12:58 -0500 Subject: ENH: fix double CMAKE_(LANG)_FLAGS problem in try compile --- Source/cmTryCompileCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmTryCompileCommand.cxx b/Source/cmTryCompileCommand.cxx index ce0b61a..900d2d7 100644 --- a/Source/cmTryCompileCommand.cxx +++ b/Source/cmTryCompileCommand.cxx @@ -175,7 +175,7 @@ int cmTryCompileCommand::CoreTryCompileCode( langFlags += lang; langFlags += "_FLAGS"; fprintf(fout, "SET(CMAKE_VERBOSE_MAKEFILE 1)\n"); - fprintf(fout, "SET(CMAKE_%s_FLAGS \"${CMAKE_%s_FLAGS}", lang, lang); + fprintf(fout, "SET(CMAKE_%s_FLAGS \"", lang); const char* flags = mf->GetDefinition(langFlags.c_str()); if(flags) { -- cgit v0.12