diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-09-23 18:04:02 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-09-23 18:04:02 (GMT) |
commit | 565adb8115aebc274dcf1a04e0132d5cae3a8595 (patch) | |
tree | 02c403af3b390729cee5aaece9bfbb102fad912e /Source/cmTryCompileCommand.cxx | |
parent | 48fe81acdd94ace2a03e76c6d55eba9993571964 (diff) | |
download | CMake-565adb8115aebc274dcf1a04e0132d5cae3a8595.zip CMake-565adb8115aebc274dcf1a04e0132d5cae3a8595.tar.gz CMake-565adb8115aebc274dcf1a04e0132d5cae3a8595.tar.bz2 |
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 fa90957..103f815 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()) |