Skip to content
This repository was archived by the owner on Oct 28, 2021. It is now read-only.

Commit 934518b

Browse files
committed
CMake: Use toolchain file from Cable
1 parent 81327d9 commit 934518b

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

CMakeLists.txt

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,13 @@
44

55
cmake_minimum_required(VERSION 3.5.1)
66

7-
include(evmc/cmake/cable/bootstrap.cmake)
7+
include(cmake/cable/bootstrap.cmake)
88
include(CableBuildInfo)
99
include(CableBuildType)
1010
include(CableToolchains)
1111
include(GNUInstallDirs)
1212

13-
if(UNIX)
14-
# Build deps with PIC to allow building shared libraries.
15-
set(toolchain cxx11-pic)
16-
else()
17-
set(toolchain cxx11)
18-
endif()
19-
cable_configure_toolchain(DEFAULT ${toolchain})
13+
cable_configure_toolchain(DEFAULT cxx11-pic)
2014

2115
set(ETH_CMAKE_DIR "${CMAKE_CURRENT_LIST_DIR}/cmake" CACHE PATH "The path to the cmake directory")
2216
list(APPEND CMAKE_MODULE_PATH ${ETH_CMAKE_DIR})

cmake/toolchains/cxx11-pic.cmake

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)