diff options
author | debris <marek.kotewicz@gmail.com> | 2014-12-07 18:29:38 +0800 |
---|---|---|
committer | debris <marek.kotewicz@gmail.com> | 2014-12-07 18:29:38 +0800 |
commit | 49aa83403f1d09ac608548f5afd3dbab31397451 (patch) | |
tree | 38eec1262cb119281792e5065a36f03744e00cbc | |
parent | 6d0ed4c891fb096016210f82852db7439099980d (diff) | |
download | dexon-solidity-49aa83403f1d09ac608548f5afd3dbab31397451.tar.gz dexon-solidity-49aa83403f1d09ac608548f5afd3dbab31397451.tar.zst dexon-solidity-49aa83403f1d09ac608548f5afd3dbab31397451.zip |
solidity compiling under msvc && boosts cmake file fixed
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ca19fab..9549f89e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,16 +3,12 @@ set(CMAKE_AUTOMOC OFF) aux_source_directory(. SRC_LIST) -include_directories(${Boost_INCLUDE_DIRS}) include_directories(..) set(EXECUTABLE lllc) -if(ETH_STATIC) - add_library(${EXECUTABLE} STATIC ${SRC_LIST} ${HEADERS}) -else() - add_library(${EXECUTABLE} SHARED ${SRC_LIST} ${HEADERS}) -endif() +file(GLOB HEADERS "*.h") +add_executable(${EXECUTABLE} ${SRC_LIST} ${HEADERS}) add_dependencies(${EXECUTABLE} BuildInfo.h) |