1 include(${CMAKE_CURRENT_SOURCE_DIR}/${try_compile_DEFS})
5 try_compile(result ${try_compile_bindir_or_SOURCES}
6 ${try_compile_redundant_SOURCES} ${CMAKE_CURRENT_SOURCE_DIR}/CStandardGNU.c
14 message(FATAL_ERROR "try_compile failed:\n${out}")
17 cmake_policy(SET CMP0067 NEW)
19 set(CMAKE_C_STANDARD 99)
20 set(CMAKE_C_STANDARD_REQUIRED 1)
21 set(CMAKE_C_EXTENSIONS 0)
23 try_compile(result ${try_compile_bindir_or_SOURCES}
24 ${try_compile_redundant_SOURCES} ${CMAKE_CURRENT_SOURCE_DIR}/CStandardGNU.c
29 message(FATAL_ERROR "try_compile failed:\n${out}")