From 0eca7c9ffdf87a8a5a11858879b2f726ef9cb64a Mon Sep 17 00:00:00 2001 From: Adam Simpkins Date: Thu, 18 Jan 2018 20:43:24 -0800 Subject: [PATCH] cmake: remove the check preventing cmake on non-Windows platforms Summary: I believe the CMake build scripts have a similar level of functionality to the autoconf-based build scripts even on Linux these days. This lets users use CMake on Linux and Mac, rather than directing them to autoconf instead. Reviewed By: meyering Differential Revision: D6745366 fbshipit-source-id: 0361eecead55ee06269192eee8d2e7286eb182b8 --- CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2d330de3..6aa82b67 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,12 +34,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows") "MSVC version '${MSVC_VERSION}' is not supported." ) endif() -else() - message( - FATAL_ERROR - "The CMake build should only be used on Windows. " - "For every other platform, use autoconf." - ) endif() set(FOLLY_DIR "${CMAKE_CURRENT_SOURCE_DIR}/folly") -- 2.34.1