From 8f355962cefdd1cfa85ca47990f603cf437f06be Mon Sep 17 00:00:00 2001 From: Florent Castelli Date: Wed, 25 Jan 2017 05:23:06 +0100 Subject: [PATCH] cmake: Move include higher up in the file --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b78aad139c..59c4474894 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,6 +78,7 @@ list(APPEND CMAKE_MODULE_PATH # Support functions include(CheckAndAddFlag) +include(CheckCCompilerFlag) # Libraries to link set(LIBS) @@ -161,7 +162,6 @@ else() add_definitions(-D_ARCH_32=1) endif() -include(CheckCCompilerFlag) if(ENABLE_GENERIC) message(STATUS "Warning! Building generic build!") set(_M_GENERIC 1)