mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-31 05:03:22 +08:00
[flann] Fix platform branching VCPKG_CMAKE_SYSTEM_NAME
This commit is contained in:
parent
21f776defb
commit
aaa0308710
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user