diff --git a/CMakeLists.txt b/CMakeLists.txt index c5abce9202ffac8bac2df6e6c7c5dc5694441033..82c4111e857288be8fc9a5b02cca06626e6248b2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,13 +76,6 @@ if(NOT HAVE_VSNPRINTF) add_definitions(-DHAVE_NO_VSNPRINTF) endif(NOT HAVE_VSNPRINTF) -include(CheckFunctionExists) -check_function_exists(vsnprintf HAVE_VSNPRINTF) -if(NOT HAVE_VSNPRINTF) -message(FATAL_ERROR "Compiler does not support function 'vsnprintf'.") -endif() - - find_package(OpenGL) if(OPENGL_FOUND) list(APPEND EXTERNAL_INCLUDES ${OPENGL_INCLUDE_DIR})