Move cmake_minimum_required() to the correct place

It has to be before the call to project() or it doesn't do anything.
This commit is contained in:
Thomas Goyne 2016-03-28 14:02:17 -07:00
parent f41d137f71
commit c98f192879
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,8 @@
cmake_minimum_required(VERSION 3.2.0)
set(CMAKE_BUILD_TYPE Debug CACHE STRING "")
project(realm-object-store)
cmake_minimum_required(VERSION 3.2.0)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake")
include(CompilerFlags)