Commit 93a9eac8 authored by Ghislain MARY's avatar Ghislain MARY

Support build for Windows 10 with CMake.

parent 42480719
......@@ -72,8 +72,10 @@ add_definitions(
if(WIN32)
add_definitions(-DWINDOWS_NATIVE)
list(APPEND LIBS ws2_32)
if(NOT CMAKE_SYSTEM_NAME STREQUAL "WindowsPhone")
if(NOT CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
list(APPEND LIBS ws2_32)
endif()
if(NOT CMAKE_SYSTEM_NAME STREQUAL "WindowsPhone" AND NOT CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
list(APPEND LIBS delayimp Winmm Qwave)
endif()
endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment