From: Omair Majid Date: Thu, 12 Sep 2019 19:03:45 +0000 (-0400) Subject: Remove CLR_CMAKE_TARGET_UBUNTU_LINUX and CLR_CMAKE_PLATFORM_UBUNTU_LINUX (dotnet... X-Git-Tag: submit/tizen/20210909.063632~11030^2~621 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=191db466a70754a222f7768d1f9d74e8da43dda0;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Remove CLR_CMAKE_TARGET_UBUNTU_LINUX and CLR_CMAKE_PLATFORM_UBUNTU_LINUX (dotnet/coreclr#26663) They are unused. Nothing ever checks for either of them. Commit migrated from https://github.com/dotnet/coreclr/commit/ac9b8110ce037f367d739c57a5907edf9f7355c1 --- diff --git a/src/coreclr/configurecompiler.cmake b/src/coreclr/configurecompiler.cmake index 8e1f6b5..11a85b3 100644 --- a/src/coreclr/configurecompiler.cmake +++ b/src/coreclr/configurecompiler.cmake @@ -61,16 +61,11 @@ if(CMAKE_SYSTEM_NAME STREQUAL Linux) # Detect Linux ID if(DEFINED CLR_CMAKE_LINUX_ID) - if(CLR_CMAKE_LINUX_ID STREQUAL ubuntu) - set(CLR_CMAKE_TARGET_UBUNTU_LINUX 1) - elseif(CLR_CMAKE_LINUX_ID STREQUAL tizen) + if(CLR_CMAKE_LINUX_ID STREQUAL tizen) set(CLR_CMAKE_TARGET_TIZEN_LINUX 1) elseif(CLR_CMAKE_LINUX_ID STREQUAL alpine) set(CLR_CMAKE_PLATFORM_ALPINE_LINUX 1) endif() - if(CLR_CMAKE_LINUX_ID STREQUAL ubuntu) - set(CLR_CMAKE_PLATFORM_UBUNTU_LINUX 1) - endif() endif(DEFINED CLR_CMAKE_LINUX_ID) endif(CMAKE_SYSTEM_NAME STREQUAL Linux)