diff --git a/cmake/modules/FindCXX11Features.cmake b/cmake/modules/FindCXX11Features.cmake index 67fd5759f7c317553fd0e610b484c95019f7697c..fbb96ce4e53162fb37ee12ebcfc5fb24493d43ec 100644 --- a/cmake/modules/FindCXX11Features.cmake +++ b/cmake/modules/FindCXX11Features.cmake @@ -121,17 +121,6 @@ CHECK_CXX_SOURCE_COMPILES(" endif(NOT DISABLE_TR1_HEADERS) -# __attribute__((always_inline)) -CHECK_CXX_SOURCE_COMPILES(" - void __attribute__((always_inline)) foo(void) {} - int main(void) - { - foo(); - return 0; - }; -" HAVE_ATTRIBUTE_ALWAYS_INLINE -) - # __attribute__((unused)) CHECK_CXX_SOURCE_COMPILES(" int main(void)