realm-js/CMakeLists.txt
Thomas Goyne c98f192879 Move cmake_minimum_required() to the correct place
It has to be before the call to project() or it doesn't do anything.
2016-03-28 14:10:15 -07:00

19 lines
444 B
CMake

cmake_minimum_required(VERSION 3.2.0)
set(CMAKE_BUILD_TYPE Debug CACHE STRING "")
project(realm-object-store)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake")
include(CompilerFlags)
include(Sanitizers)
include(RealmCore)
set(REALM_CORE_VERSION "0.97.0" CACHE STRING "")
use_realm_core(${REALM_CORE_VERSION})
include_directories(${REALM_CORE_INCLUDE_DIR} src external/pegtl)
add_subdirectory(src)
add_subdirectory(tests)