Cleanup: stdbool no longer optional, remove checks
[blender.git] / build_files / cmake / macros.cmake
index edc5cf925c9fa9c95d65cf36a08204a10e02e94a..00313ba36d7480a11191c94ca8796118469dc6a8 100644 (file)
@@ -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 <stdbool.h>
-               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)