mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 12:09:48 +00:00
Fix HP build
This commit is contained in:
parent
48fe81acdd
commit
565adb8115
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user