Add "lib" prefix for the DLL name when building for Windows Phone with CMake.

This commit is contained in:
Ghislain MARY 2015-03-30 11:37:37 +02:00
parent 5fd6ecc83c
commit 47a2c1c0bf

View file

@ -162,6 +162,9 @@ else()
endif()
endif()
endif()
if(WIN32 AND "${CMAKE_SYSTEM_NAME}" STREQUAL "WindowsPhone")
set_target_properties(linphone PROPERTIES PREFIX "lib")
endif()
if(ICONV_FOUND)
target_include_directories(linphone PUBLIC ${ICONV_INCLUDE_DIRS})
endif()