summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/cmake/toolchains/mongodbtoolchain_v3_gcc.cmake
blob: 136d4a33f4f7c3136bcc4445a14a905e3e2ac729 (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/gcc")
set(CMAKE_CXX_COMPILER "${TOOLCHAIN_ROOT}/bin/g++")
set(CMAKE_ASM_COMPILER "${TOOLCHAIN_ROOT}/bin/gcc")