aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2018-05-16 17:26:22 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2018-05-16 17:28:06 -0700
commitaaa03087109b36c3d952bcec7a5b3044f12f70b7 (patch)
treeed0f64f75085426e2f23d1f1b78fc7edce27df24
parent21f776defbfb214de0f9122beb67c28815255e31 (diff)
downloadvcpkg-aaa03087109b36c3d952bcec7a5b3044f12f70b7.tar.gz
vcpkg-aaa03087109b36c3d952bcec7a5b3044f12f70b7.zip
[flann] Fix platform branching VCPKG_CMAKE_SYSTEM_NAME
-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()