[vcpkg] Don't set CMAKE_CROSSCOMPILING when targetting Linux-on-Linux

This commit is contained in:
Robert Schumacher 2018-03-11 23:05:28 -07:00
parent 6d74825741
commit ece289b9a6

View File

@ -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 "")