mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Ensure dependencies are conditional on Windows
This commit is contained in:
parent
64db54a67a
commit
6790177df1
@ -69,7 +69,9 @@ endforeach(file)
|
|||||||
file(GLOB HEADERS "*.h")
|
file(GLOB HEADERS "*.h")
|
||||||
add_executable(testeth ${SRC_LIST} ${HEADERS})
|
add_executable(testeth ${SRC_LIST} ${HEADERS})
|
||||||
|
|
||||||
target_link_libraries(testeth Iphlpapi)
|
if((WIN32)
|
||||||
|
target_link_libraries(testeth Iphlpapi)
|
||||||
|
endif()
|
||||||
target_link_libraries(testeth ${Boost_UNIT_TEST_FRAMEWORK_LIBRARIES})
|
target_link_libraries(testeth ${Boost_UNIT_TEST_FRAMEWORK_LIBRARIES})
|
||||||
target_link_libraries(testeth ${CURL_LIBRARIES})
|
target_link_libraries(testeth ${CURL_LIBRARIES})
|
||||||
target_link_libraries(testeth ethereum)
|
target_link_libraries(testeth ethereum)
|
||||||
|
Loading…
Reference in New Issue
Block a user