From aaa03087109b36c3d952bcec7a5b3044f12f70b7 Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Wed, 16 May 2018 17:26:22 -0700 Subject: [PATCH] [flann] Fix platform branching VCPKG_CMAKE_SYSTEM_NAME --- ports/flann/portfile.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()