diff --git a/ports/flann/portfile.cmake b/ports/flann/portfile.cmake index 69834c8eab..e40e45b68f 100644 --- a/ports/flann/portfile.cmake +++ b/ports/flann/portfile.cmake @@ -32,7 +32,7 @@ vcpkg_install_cmake() 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_SUFFIX ".lib") else()