From 804a429ba5401c906e3929fbc5fad4067a7b9a9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Tue, 15 Jan 2019 14:08:54 +0100 Subject: [PATCH] CMake: Add toolchains support --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index d6d41f4..326bbd5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,6 +16,7 @@ option(HUNTER_ENABLED "Enable Hunter package manager support" "${EVMC_TESTING}") include(cmake/cable/bootstrap.cmake) include(CableBuildType) include(CableCompilerSettings) +include(CableToolchains) include(CMakePackageConfigHelpers) include(GNUInstallDirs) @@ -25,6 +26,8 @@ if(EVMC_TESTING) include(defaults/HunterCacheServers) endif() +cable_configure_toolchain(DEFAULT cxx11-pic) + project(evmc) set(PROJECT_VERSION 6.1.0-dev)