diff --git a/alethzero/CMakeLists.txt b/alethzero/CMakeLists.txt index 56ab82228..bda66ede2 100644 --- a/alethzero/CMakeLists.txt +++ b/alethzero/CMakeLists.txt @@ -42,7 +42,7 @@ eth_add_executable(${EXECUTABLE} add_dependencies(${EXECUTABLE} BuildInfo.h) -if((WIN32) +if(WIN32) target_link_libraries(${EXECUTABLE} Iphlpapi) endif() target_link_libraries(${EXECUTABLE} Qt5::Core) diff --git a/eth/CMakeLists.txt b/eth/CMakeLists.txt index 416155687..7396c9ccb 100644 --- a/eth/CMakeLists.txt +++ b/eth/CMakeLists.txt @@ -19,7 +19,7 @@ add_executable(${EXECUTABLE} ${SRC_LIST} ${HEADERS}) add_dependencies(${EXECUTABLE} BuildInfo.h) -if((WIN32) +if(WIN32) target_link_libraries(${EXECUTABLE} Iphlpapi) endif() target_link_libraries(${EXECUTABLE} ${Boost_REGEX_LIBRARIES}) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index a3b3188a9..69a3d51e7 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -69,7 +69,7 @@ endforeach(file) file(GLOB HEADERS "*.h") add_executable(testeth ${SRC_LIST} ${HEADERS}) -if((WIN32) +if(WIN32) target_link_libraries(testeth Iphlpapi) endif() target_link_libraries(testeth ${Boost_UNIT_TEST_FRAMEWORK_LIBRARIES})