diff options
author | Gav Wood <g@ethdev.com> | 2014-11-10 19:57:29 +0800 |
---|---|---|
committer | Gav Wood <g@ethdev.com> | 2014-11-10 19:57:29 +0800 |
commit | d9822190c6fb3ac5025296c0f47977cca9547b91 (patch) | |
tree | 20598813d2b4a0835ee620a4873a866e03246ab4 | |
parent | 5af66a6cb33bf58850b9bb888ec38fb9634fa5bd (diff) | |
parent | d6e7b82d3ccb61dd95bc4225bf57edba73607a81 (diff) | |
download | dexon-solidity-d9822190c6fb3ac5025296c0f47977cca9547b91.tar dexon-solidity-d9822190c6fb3ac5025296c0f47977cca9547b91.tar.gz dexon-solidity-d9822190c6fb3ac5025296c0f47977cca9547b91.tar.bz2 dexon-solidity-d9822190c6fb3ac5025296c0f47977cca9547b91.tar.lz dexon-solidity-d9822190c6fb3ac5025296c0f47977cca9547b91.tar.xz dexon-solidity-d9822190c6fb3ac5025296c0f47977cca9547b91.tar.zst dexon-solidity-d9822190c6fb3ac5025296c0f47977cca9547b91.zip |
Merge pull request #498 from ethereum/solidity_cmake
add headers to solidity's add_library
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f335dd75..ea2ef4b7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,14 +6,13 @@ aux_source_directory(. SRC_LIST) set(EXECUTABLE solidity) +file(GLOB HEADERS "*.h") if(ETH_STATIC) - add_library(${EXECUTABLE} STATIC ${SRC_LIST}) + add_library(${EXECUTABLE} STATIC ${SRC_LIST} ${HEADERS}) else() - add_library(${EXECUTABLE} SHARED ${SRC_LIST}) + add_library(${EXECUTABLE} SHARED ${SRC_LIST} ${HEADERS}) endif() -file(GLOB HEADERS "*.h") - include_directories(..) target_link_libraries(${EXECUTABLE} evmcore devcore) |