Browse Source

winmm added to v8_libraries

cl-refactor
unknown 9 years ago
parent
commit
e288b27195
  1. 2
      cmake/Findv8.cmake
  2. 1
      libjsconsole/CMakeLists.txt

2
cmake/Findv8.cmake

@ -56,7 +56,7 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
DOC "v8 nosnapshot library" DOC "v8 nosnapshot library"
) )
set(V8_LIBRARIES optimized ${V8_LIBRARIES} debug ${V8_LIBRARY_DEBUG} ${V8_NO_SNAPSHOT_LIBRARY_DEBUG}) set(V8_LIBRARIES "ws2_32" "winmm" optimized ${V8_LIBRARIES} debug ${V8_LIBRARY_DEBUG} ${V8_NO_SNAPSHOT_LIBRARY_DEBUG})
endif() endif()

1
libjsconsole/CMakeLists.txt

@ -33,7 +33,6 @@ target_link_libraries(${EXECUTABLE} ${JSON_RPC_CPP_SERVER_LIBRARIES})
target_link_libraries(${EXECUTABLE} ${CURL_LIBRARIES}) target_link_libraries(${EXECUTABLE} ${CURL_LIBRARIES})
if (DEFINED WIN32 AND NOT DEFINED CMAKE_COMPILER_IS_MINGW) if (DEFINED WIN32 AND NOT DEFINED CMAKE_COMPILER_IS_MINGW)
target_link_libraries(${EXECUTABLE} "ws2_32" "winmm")
eth_copy_dlls(${EXECUTABLE} CURL_DLLS) eth_copy_dlls(${EXECUTABLE} CURL_DLLS)
endif() endif()

Loading…
Cancel
Save