mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Fix HP build
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user