aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <g@ethdev.com>2014-11-10 19:57:29 +0800
committerGav Wood <g@ethdev.com>2014-11-10 19:57:29 +0800
commitd9822190c6fb3ac5025296c0f47977cca9547b91 (patch)
tree20598813d2b4a0835ee620a4873a866e03246ab4
parent5af66a6cb33bf58850b9bb888ec38fb9634fa5bd (diff)
parentd6e7b82d3ccb61dd95bc4225bf57edba73607a81 (diff)
downloaddexon-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.txt7
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)