mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Windows build coersions.
This commit is contained in:
parent
f92fdf328c
commit
2ffbe1c5c8
@ -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 )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user