aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlotrf3 <allan.c.rempel@gmail.com>2015-05-27 03:09:15 +0800
committerlotrf3 <allan.c.rempel@gmail.com>2015-05-27 03:09:15 +0800
commit6790177df1c34950cea818b527d997d1a5f94213 (patch)
treea75b5bf3db1ad05ad297b2991aaee914097aaec1
parent64db54a67a5ceaf96ac48a5574cec2b67db49ac9 (diff)
downloaddexon-solidity-6790177df1c34950cea818b527d997d1a5f94213.tar.gz
dexon-solidity-6790177df1c34950cea818b527d997d1a5f94213.tar.zst
dexon-solidity-6790177df1c34950cea818b527d997d1a5f94213.zip
Ensure dependencies are conditional on Windows
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index be24ea11..a3b3188a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -69,7 +69,9 @@ endforeach(file)
file(GLOB HEADERS "*.h")
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 ${CURL_LIBRARIES})
target_link_libraries(testeth ethereum)