vcpkg/scripts/toolchains/linux.cmake

7 lines
188 B
CMake

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