aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <g@ethdev.com>2015-05-13 05:55:38 +0800
committerGav Wood <g@ethdev.com>2015-05-13 05:55:38 +0800
commitddbb161bf2c38444c5d77d080c948b09e71fef6b (patch)
tree15b39e94596d695d4adad4d38fefbc7713c9c940
parent60d69c78f5d165341ce76f63a7e95418c95a3481 (diff)
parentb07331fbb301cfc08c53da0b81856c1360dcc963 (diff)
downloaddexon-solidity-ddbb161bf2c38444c5d77d080c948b09e71fef6b.tar.gz
dexon-solidity-ddbb161bf2c38444c5d77d080c948b09e71fef6b.tar.zst
dexon-solidity-ddbb161bf2c38444c5d77d080c948b09e71fef6b.zip
Merge pull request #1855 from imapp-pl/pr/cmake_runtime_output_directory
CMake: set default RUNTIME_OUTPUT_DIRECTORY property to "bin"
-rw-r--r--CMakeLists.txt7
1 files changed, 1 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f8150806..eb8fea95 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,15 +19,10 @@ set(EXECUTABLE evmasm)
file(GLOB HEADERS "*.h")
-if (ETH_STATIC)
- add_library(${EXECUTABLE} STATIC ${SRC_LIST} ${HEADERS})
-else()
- add_library(${EXECUTABLE} SHARED ${SRC_LIST} ${HEADERS})
-endif()
+add_library(${EXECUTABLE} ${SRC_LIST} ${HEADERS})
target_link_libraries(${EXECUTABLE} evmcore)
target_link_libraries(${EXECUTABLE} devcrypto)
install( TARGETS ${EXECUTABLE} RUNTIME DESTINATION bin ARCHIVE DESTINATION lib LIBRARY DESTINATION lib )
install( FILES ${HEADERS} DESTINATION include/${EXECUTABLE} )
-