From 72c628819e74aa57d194c37bcb4bb835b3e73a6c Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Mon, 23 Mar 2015 16:26:15 +0100 Subject: [PATCH] Fix build with CMake for Windows Phone. --- coreapi/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/CMakeLists.txt b/coreapi/CMakeLists.txt index 0f9d453a4..57094e810 100644 --- a/coreapi/CMakeLists.txt +++ b/coreapi/CMakeLists.txt @@ -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()