aboutsummaryrefslogtreecommitdiff
path: root/scripts/toolchains/linux.cmake
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2018-11-20 16:28:12 -0800
committerRobert Schumacher <roschuma@microsoft.com>2018-11-20 16:28:12 -0800
commit3b01335e6161cb9195fcb8928225dcb11b52cd58 (patch)
treef5a3f8f54d46051343cd3429b456f08d437dfebf /scripts/toolchains/linux.cmake
parent83af530a42011130b20a5080bbd298abaa77be59 (diff)
downloadvcpkg-3b01335e6161cb9195fcb8928225dcb11b52cd58.tar.gz
vcpkg-3b01335e6161cb9195fcb8928225dcb11b52cd58.zip
Revert "WIP [vcpkg] Fix CMAKE_SYSTEM_PROCESSOR with UWP and Linux triplets (#4688)"
This reverts commit 83af530a42011130b20a5080bbd298abaa77be59.
Diffstat (limited to 'scripts/toolchains/linux.cmake')
-rw-r--r--scripts/toolchains/linux.cmake5
1 files changed, 0 insertions, 5 deletions
diff --git a/scripts/toolchains/linux.cmake b/scripts/toolchains/linux.cmake
index d740a5b8c..ade9db90b 100644
--- a/scripts/toolchains/linux.cmake
+++ b/scripts/toolchains/linux.cmake
@@ -1,10 +1,5 @@
if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux")
set(CMAKE_CROSSCOMPILING OFF CACHE BOOL "")
-
- # TODO: This should be replaced with a switch on VCPKG_TARGET_ARCHITECTURE once we know what linux systems "natively" define for each of the targets
- set(CMAKE_SYSTEM_PROCESSOR "${CMAKE_HOST_SYSTEM_PROCESSOR}" CACHE STRING "")
-else()
- set(CMAKE_SYSTEM_PROCESSOR "x86_64" CACHE STRING "")
endif()
set(CMAKE_SYSTEM_NAME Linux CACHE STRING "")