mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[vcpkg] Don't set CMAKE_CROSSCOMPILING when targetting Linux-on-Linux
This commit is contained in:
parent
6d74825741
commit
ece289b9a6
@ -1,3 +1,6 @@
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux")
|
||||
set(CMAKE_CROSSCOMPILING OFF CACHE BOOL "")
|
||||
endif()
|
||||
set(CMAKE_SYSTEM_NAME Linux CACHE STRING "")
|
||||
|
Loading…
x
Reference in New Issue
Block a user