[flann] Fix platform branching VCPKG_CMAKE_SYSTEM_NAME

This commit is contained in:
Alexander Karatarakis 2018-05-16 17:26:22 -07:00
parent 21f776defb
commit aaa0308710

View File

@ -32,7 +32,7 @@ vcpkg_install_cmake()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
if(MSVC) if(NOT VCPKG_CMAKE_SYSTEM_NAME OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
set(LIB_PREFIX "") set(LIB_PREFIX "")
set(LIB_SUFFIX ".lib") set(LIB_SUFFIX ".lib")
else() else()