diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-09-23 14:04:02 -0400 |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-09-23 14:04:02 -0400 |
commit | 565adb8115aebc274dcf1a04e0132d5cae3a8595 (patch) | |
tree | 02c403af3b390729cee5aaece9bfbb102fad912e /Source/cmTryCompileCommand.cxx | |
parent | 48fe81acdd94ace2a03e76c6d55eba9993571964 (diff) | |
download | cmake-565adb8115aebc274dcf1a04e0132d5cae3a8595.tar.gz |
Fix HP build
Diffstat (limited to 'Source/cmTryCompileCommand.cxx')
-rw-r--r-- | Source/cmTryCompileCommand.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTryCompileCommand.cxx b/Source/cmTryCompileCommand.cxx index fa909576e8..103f815fdb 100644 --- a/Source/cmTryCompileCommand.cxx +++ b/Source/cmTryCompileCommand.cxx @@ -136,6 +136,7 @@ int cmTryCompileCommand::CoreTryCompileCode( fprintf(fout, "PROJECT(CMAKE_TRY_COMPILE)\n"); fprintf(fout, "IF (CMAKE_ANSI_CXXFLAGS)\n"); fprintf(fout, " SET(CMAKE_CXX_FLAGS \"${CMAKE_CXX_FLAGS} ${CMAKE_ANSI_CXXFLAGS}\")\n"); + fprintf(fout, " SET(CMAKE_C_FLAGS \"${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}\")\n"); fprintf(fout, "ENDIF (CMAKE_ANSI_CXXFLAGS)\n"); // handle any compile flags we need to pass on if (compileFlags.size()) |