aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Summerwill <bob@summerwill.net>2015-12-04 02:15:27 +0800
committerBob Summerwill <bob@summerwill.net>2015-12-04 02:15:27 +0800
commit2a49857ff9990fc451c2c65ade32a3aef8835317 (patch)
tree791d98c64e8b69358fd3168d8e41b1d35eabb1e7
parentd15e9a172d9bb537414cdcb95854a46e7c245ded (diff)
downloaddexon-solidity-2a49857ff9990fc451c2c65ade32a3aef8835317.tar.gz
dexon-solidity-2a49857ff9990fc451c2c65ade32a3aef8835317.tar.zst
dexon-solidity-2a49857ff9990fc451c2c65ade32a3aef8835317.zip
Alternative case-consistency fix for libsolidity. Just using fully-qualified scoped name in eh_use instead.
-rw-r--r--libsolidity/CMakeLists.txt2
-rw-r--r--solc/CMakeLists.txt6
2 files changed, 4 insertions, 4 deletions
diff --git a/libsolidity/CMakeLists.txt b/libsolidity/CMakeLists.txt
index 77bb9f0e..fa2f4e9c 100644
--- a/libsolidity/CMakeLists.txt
+++ b/libsolidity/CMakeLists.txt
@@ -7,7 +7,7 @@ aux_source_directory(formal SRC_LIST)
aux_source_directory(interface SRC_LIST)
aux_source_directory(parsing SRC_LIST)
-set(EXECUTABLE Solidity)
+set(EXECUTABLE solidity)
file(GLOB HEADERS "*/*.h")
diff --git a/solc/CMakeLists.txt b/solc/CMakeLists.txt
index 7dd24627..cb88cb48 100644
--- a/solc/CMakeLists.txt
+++ b/solc/CMakeLists.txt
@@ -8,7 +8,7 @@ set(EXECUTABLE solc)
file(GLOB HEADERS "*.h")
add_executable(${EXECUTABLE} ${SRC_LIST} ${HEADERS})
-eth_use(${EXECUTABLE} REQUIRED Solidity)
+eth_use(${EXECUTABLE} REQUIRED Solidity::solidity)
target_link_libraries(${EXECUTABLE} ${Boost_PROGRAM_OPTIONS_LIBRARIES})
if (APPLE)
@@ -20,8 +20,8 @@ endif()
if (EMSCRIPTEN)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s EXPORTED_FUNCTIONS='[\"_compileJSON\",\"_version\",\"_compileJSONMulti\"]'")
add_executable(soljson jsonCompiler.cpp ${HEADERS})
- eth_use(soljson REQUIRED Solidity)
+ eth_use(soljson REQUIRED Solidity::solidity)
else()
add_library(soljson jsonCompiler.cpp ${HEADERS})
- target_link_libraries(soljson solidity)
+ target_link_libraries(soljson Solidity::solidity)
endif()