From c9640e58ce6af1930cadfa67725b64b035acf1fe Mon Sep 17 00:00:00 2001 From: lotrf3 Date: Tue, 26 May 2015 02:18:19 -0500 Subject: Added upnp support to Windows --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 39a235c5..be24ea11 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,6 +69,7 @@ endforeach(file) file(GLOB HEADERS "*.h") add_executable(testeth ${SRC_LIST} ${HEADERS}) +target_link_libraries(testeth Iphlpapi) target_link_libraries(testeth ${Boost_UNIT_TEST_FRAMEWORK_LIBRARIES}) target_link_libraries(testeth ${CURL_LIBRARIES}) target_link_libraries(testeth ethereum) -- cgit From 6790177df1c34950cea818b527d997d1a5f94213 Mon Sep 17 00:00:00 2001 From: lotrf3 Date: Tue, 26 May 2015 14:09:15 -0500 Subject: Ensure dependencies are conditional on Windows --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- cgit From 373a296314f5de477a5950baacbab6b371d6674b Mon Sep 17 00:00:00 2001 From: lotrf3 Date: Tue, 26 May 2015 14:24:58 -0500 Subject: Fix dumbest syntax error ever --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a3b3188a..69a3d51e 100644 --- a/CMakeLists.txt +++ b/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}) -- cgit From ad91bcec934e54fcd0c3acb7ebd4b2b6c86a7f39 Mon Sep 17 00:00:00 2001 From: ethdev zug Date: Wed, 27 May 2015 00:46:45 +0100 Subject: changes required to make miniupnp working on windows --- CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 69a3d51e..39a235c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,9 +69,6 @@ endforeach(file) file(GLOB HEADERS "*.h") add_executable(testeth ${SRC_LIST} ${HEADERS}) -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) -- cgit