COMP: Need ANSI C flags to build check_command_line.c.
This commit is contained in:
parent
bffc8ca59f
commit
c27e9fd656
|
@ -193,6 +193,7 @@ FOREACH(arg ${CHECK_ARGS})
|
||||||
"${EXPECTED_ARGUMENTS} \"${ARG}\",
|
"${EXPECTED_ARGUMENTS} \"${ARG}\",
|
||||||
")
|
")
|
||||||
ENDFOREACH(arg)
|
ENDFOREACH(arg)
|
||||||
|
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}")
|
||||||
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/check_command_line.c.in
|
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/check_command_line.c.in
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/check_command_line.c
|
${CMAKE_CURRENT_BINARY_DIR}/check_command_line.c
|
||||||
@ONLY IMMEDIATE)
|
@ONLY IMMEDIATE)
|
||||||
|
|
Loading…
Reference in New Issue