aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-07-03 21:00:22 +0800
committerGav Wood <i@gavwood.com>2014-07-03 21:00:22 +0800
commit2ffbe1c5c8432ef16dea10625f778d8d0f19e0e4 (patch)
tree90d3802f01575d069e6a3e80263e66d4a775878e
parentf92fdf328c195dfa6a1f8cc5135bd6295f586b2d (diff)
downloaddexon-solidity-2ffbe1c5c8432ef16dea10625f778d8d0f19e0e4.tar.gz
dexon-solidity-2ffbe1c5c8432ef16dea10625f778d8d0f19e0e4.tar.zst
dexon-solidity-2ffbe1c5c8432ef16dea10625f778d8d0f19e0e4.zip
Windows build coersions.
-rw-r--r--CMakeLists.txt9
1 files changed, 4 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2146c192..49e71707 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,6 +8,10 @@ set(EXECUTABLE lllc)
add_executable(${EXECUTABLE} ${SRC_LIST})
+target_link_libraries(${EXECUTABLE} lll)
+target_link_libraries(${EXECUTABLE} evmface)
+target_link_libraries(${EXECUTABLE} ethential)
+
if (${TARGET_PLATFORM} STREQUAL "w64")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libgcc -static-libstdc++")
target_link_libraries(${EXECUTABLE} gcc)
@@ -24,10 +28,5 @@ else ()
target_link_libraries(${EXECUTABLE} ${CMAKE_THREAD_LIBS_INIT})
endif ()
-target_link_libraries(${EXECUTABLE} lll)
-target_link_libraries(${EXECUTABLE} evmface)
-target_link_libraries(${EXECUTABLE} ethential)
-target_link_libraries(${EXECUTABLE} gmp)
-
install( TARGETS ${EXECUTABLE} DESTINATION bin )