From: Adam Simpkins Date: Fri, 19 Jan 2018 04:43:24 +0000 (-0800) Subject: cmake: remove the check preventing cmake on non-Windows platforms X-Git-Tag: v2018.01.22.00~8 X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=commitdiff_plain;h=0eca7c9ffdf87a8a5a11858879b2f726ef9cb64a 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 --- 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")