aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrainbeam <rainbeam@riseup.net>2016-05-01 07:42:49 +0800
committerrainbeam <rainbeam@riseup.net>2016-05-01 08:29:38 +0800
commit1940c9a362b27f74e52bf28c82c7d9aa9b9e263e (patch)
tree8e8792c91bdd40daa1bb57e6311f4e90568e18ad
parenteb20841740d386dccf4dc663adba43994b81b810 (diff)
downloaddexon-solidity-1940c9a362b27f74e52bf28c82c7d9aa9b9e263e.tar.gz
dexon-solidity-1940c9a362b27f74e52bf28c82c7d9aa9b9e263e.tar.zst
dexon-solidity-1940c9a362b27f74e52bf28c82c7d9aa9b9e263e.zip
wrap soltest add_executable
Allows static linking.
-rw-r--r--test/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 28b9972e..9d958b16 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -42,7 +42,7 @@ endforeach(file)
file(GLOB HEADERS "*.h")
set(EXECUTABLE soltest)
-add_executable(${EXECUTABLE} ${SRC_LIST} ${HEADERS})
+eth_simple_add_executable(${EXECUTABLE} ${SRC_LIST} ${HEADERS})
eth_use(${EXECUTABLE} REQUIRED Solidity::solidity Eth::ethereum Eth::ethcore)