From 31375a1b21a98f5ce6abdd46a41a1e287d3d5050 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 16 Jan 2016 15:34:49 +1100 Subject: Cleanup: stdbool no longer optional, remove checks --- build_files/cmake/macros.cmake | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'build_files') diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake index edc5cf925c9..00313ba36d7 100644 --- a/build_files/cmake/macros.cmake +++ b/build_files/cmake/macros.cmake @@ -799,17 +799,6 @@ macro(TEST_SSE_SUPPORT unset(CMAKE_REQUIRED_FLAGS) endmacro() -macro(TEST_STDBOOL_SUPPORT) - include(CheckCSourceRuns) - - # This program will compile correctly if and only if - # this C compiler supports C99 stdbool. - check_c_source_runs(" - #include - int main(void) { return (int)false; }" - HAVE_STDBOOL_H) -endmacro() - # Only print message if running CMake first time macro(message_first_run) if(FIRST_RUN) -- cgit v1.2.3