Browse Source

Added upnp support to Windows

cl-refactor
lotrf3 10 years ago
parent
commit
dadac26d0e
  1. 1
      alethzero/CMakeLists.txt
  2. 1
      eth/CMakeLists.txt
  3. 1
      extdep/getstuff.bat
  4. 1
      test/CMakeLists.txt

1
alethzero/CMakeLists.txt

@ -42,6 +42,7 @@ eth_add_executable(${EXECUTABLE}
add_dependencies(${EXECUTABLE} BuildInfo.h) add_dependencies(${EXECUTABLE} BuildInfo.h)
target_link_libraries(${EXECUTABLE} Iphlpapi)
target_link_libraries(${EXECUTABLE} Qt5::Core) target_link_libraries(${EXECUTABLE} Qt5::Core)
target_link_libraries(${EXECUTABLE} Qt5::Widgets) target_link_libraries(${EXECUTABLE} Qt5::Widgets)
target_link_libraries(${EXECUTABLE} Qt5::WebEngine) target_link_libraries(${EXECUTABLE} Qt5::WebEngine)

1
eth/CMakeLists.txt

@ -19,6 +19,7 @@ add_executable(${EXECUTABLE} ${SRC_LIST} ${HEADERS})
add_dependencies(${EXECUTABLE} BuildInfo.h) add_dependencies(${EXECUTABLE} BuildInfo.h)
target_link_libraries(${EXECUTABLE} Iphlpapi)
target_link_libraries(${EXECUTABLE} ${Boost_REGEX_LIBRARIES}) target_link_libraries(${EXECUTABLE} ${Boost_REGEX_LIBRARIES})
if (READLINE_FOUND) if (READLINE_FOUND)

1
extdep/getstuff.bat

@ -13,6 +13,7 @@ call :download json-rpc-cpp 0.5.0
call :download leveldb 1.2 call :download leveldb 1.2
call :download microhttpd 0.9.2 call :download microhttpd 0.9.2
call :download qt 5.4.1 call :download qt 5.4.1
call :download miniupnpc 1.9
goto :EOF goto :EOF

1
test/CMakeLists.txt

@ -69,6 +69,7 @@ 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)
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…
Cancel
Save