aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Summerwill <bob@summerwill.net>2016-04-07 05:47:38 +0800
committerBob Summerwill <bob@summerwill.net>2016-04-07 05:47:38 +0800
commitdebf9ff5b86bb2cfcfbd3ebaad99703f2b41fa47 (patch)
tree1c9f8ebf68641492ebd1e7a89780370530e755be
parentaa5ac41dff6aa60b1ff6e4911fa6e3613ec48b82 (diff)
downloaddexon-solidity-debf9ff5b86bb2cfcfbd3ebaad99703f2b41fa47.tar.gz
dexon-solidity-debf9ff5b86bb2cfcfbd3ebaad99703f2b41fa47.tar.zst
dexon-solidity-debf9ff5b86bb2cfcfbd3ebaad99703f2b41fa47.zip
Added missing CMake conditional around the Solidity tests.
-rw-r--r--CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a843ab89..35d21fa6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -29,10 +29,14 @@ configure_project(TESTS)
add_subdirectory(libevmasm)
add_subdirectory(libsolidity)
add_subdirectory(solc)
+
if (NOT EMSCRIPTEN)
add_subdirectory(liblll)
- add_subdirectory(test)
add_subdirectory(lllc)
endif()
+if (TESTS AND NOT EMSCRIPTEN)
+ add_subdirectory(test)
+endif()
+
# TODO installation and packaging rules