mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 04:49:08 +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)
|
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_PREFIX "")
|
||||||
set(LIB_SUFFIX ".lib")
|
set(LIB_SUFFIX ".lib")
|
||||||
else()
|
else()
|
||||||
|
Loading…
Reference in New Issue
Block a user