diff options
author | Paweł Bylica <chfast@gmail.com> | 2017-08-16 19:46:04 +0800 |
---|---|---|
committer | Paweł Bylica <chfast@gmail.com> | 2017-08-23 23:25:29 +0800 |
commit | b9015f0fb6d4a4c332746c2e503219c9f059b657 (patch) | |
tree | 930879488430f66ea2a3e7e5952d5199957c1fb4 /cmake/FindSolidity.cmake | |
parent | 3b07c4d38e40c52ee8a4d16e56e2afa1a0f27905 (diff) | |
download | dexon-solidity-b9015f0fb6d4a4c332746c2e503219c9f059b657.tar dexon-solidity-b9015f0fb6d4a4c332746c2e503219c9f059b657.tar.gz dexon-solidity-b9015f0fb6d4a4c332746c2e503219c9f059b657.tar.bz2 dexon-solidity-b9015f0fb6d4a4c332746c2e503219c9f059b657.tar.lz dexon-solidity-b9015f0fb6d4a4c332746c2e503219c9f059b657.tar.xz dexon-solidity-b9015f0fb6d4a4c332746c2e503219c9f059b657.tar.zst dexon-solidity-b9015f0fb6d4a4c332746c2e503219c9f059b657.zip |
CMake: Remove unused scripts
Diffstat (limited to 'cmake/FindSolidity.cmake')
-rw-r--r-- | cmake/FindSolidity.cmake | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/cmake/FindSolidity.cmake b/cmake/FindSolidity.cmake deleted file mode 100644 index 440e7d74..00000000 --- a/cmake/FindSolidity.cmake +++ /dev/null @@ -1,47 +0,0 @@ -# Find Solidity -# -# Find the solidity includes and library -# -# This module defines -# Solidity_XXX_LIBRARIES, the libraries needed to use solidity. -# SOLIDITY_INCLUDE_DIRS - -include(EthUtils) -set(LIBS solidity;lll;solevmasm) - -set(Solidity_INCLUDE_DIRS "${SOL_DIR}") - -# if the project is a subset of main cpp-ethereum project -# use same pattern for variables as Boost uses -if ((DEFINED solidity_VERSION) OR (DEFINED cpp-ethereum_VERSION)) - - foreach (l ${LIBS}) - string(TOUPPER ${l} L) - set ("Solidity_${L}_LIBRARIES" ${l}) - endforeach() - -else() - - foreach (l ${LIBS}) - string(TOUPPER ${l} L) - find_library(Solidity_${L}_LIBRARY - NAMES ${l} - PATHS ${CMAKE_LIBRARY_PATH} - PATH_SUFFIXES "lib${l}" "${l}" "lib${l}/Debug" "lib${l}/Release" - NO_DEFAULT_PATH - ) - - set(Solidity_${L}_LIBRARIES ${Solidity_${L}_LIBRARY}) - - if (DEFINED MSVC) - find_library(Solidity_${L}_LIBRARY_DEBUG - NAMES ${l} - PATHS ${CMAKE_LIBRARY_PATH} - PATH_SUFFIXES "lib${l}/Debug" - NO_DEFAULT_PATH - ) - eth_check_library_link(Solidity_${L}) - endif() - endforeach() - -endif() |