CMake: Add toolchains support
@@ -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)
