Fix build with CMake for Windows Phone.

This commit is contained in:
Ghislain MARY 2015-03-23 16:26:15 +01:00
parent 1dfdbdd09d
commit 72c628819e

View file

@ -139,7 +139,7 @@ endif()
if(ENABLE_ASSISTANT)
list(APPEND LIBS ${SOUP_LIBRARIES})
endif()
if(WIN32)
if(WIN32 AND NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "WindowsPhone")
list(APPEND LIBS shlwapi)
endif()