cmake: Move include higher up in the file

This commit is contained in:
Florent Castelli 2017-01-25 05:23:06 +01:00
parent ec84c26975
commit 8f355962ce
1 changed files with 1 additions and 1 deletions

View File

@ -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)