Ensure dependencies are conditional on Windows

This commit is contained in:
lotrf3 2015-05-26 14:09:15 -05:00
parent 64db54a67a
commit 6790177df1

View File

@ -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)