aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/flann/portfile.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/flann/portfile.cmake b/ports/flann/portfile.cmake
index 69834c8ea..e40e45b68 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()