blob: 2353ba1b7f7277933e580f392db49cfae9afb558 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#
# Public Domain 2014-present MongoDB, Inc.
# Public Domain 2008-2014 WiredTiger, Inc.
# All rights reserved.
#
# See the file LICENSE for redistribution information.
#
cmake_minimum_required(VERSION 3.10.0)
if(NOT TOOLCHAIN_ROOT)
set(TOOLCHAIN_ROOT "/opt/mongodbtoolchain/v3")
endif()
set(CMAKE_C_COMPILER "${TOOLCHAIN_ROOT}/bin/clang")
set(CMAKE_CXX_COMPILER "${TOOLCHAIN_ROOT}/bin/clang++")
set(CMAKE_ASM_COMPILER "${TOOLCHAIN_ROOT}/bin/clang")
|