diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2014-11-09 06:48:24 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2014-11-09 06:48:24 +0800 |
commit | d6e7b82d3ccb61dd95bc4225bf57edba73607a81 (patch) | |
tree | dcb1ce83dc1ec82811ccd35901db2545dc5fd63c | |
parent | dded93e31d9c83a6f158a028fd52185d7a172568 (diff) | |
download | dexon-solidity-d6e7b82d3ccb61dd95bc4225bf57edba73607a81.tar dexon-solidity-d6e7b82d3ccb61dd95bc4225bf57edba73607a81.tar.gz dexon-solidity-d6e7b82d3ccb61dd95bc4225bf57edba73607a81.tar.bz2 dexon-solidity-d6e7b82d3ccb61dd95bc4225bf57edba73607a81.tar.lz dexon-solidity-d6e7b82d3ccb61dd95bc4225bf57edba73607a81.tar.xz dexon-solidity-d6e7b82d3ccb61dd95bc4225bf57edba73607a81.tar.zst dexon-solidity-d6e7b82d3ccb61dd95bc4225bf57edba73607a81.zip |
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) |