cmake: remove the check preventing cmake on non-Windows platforms
authorAdam Simpkins <simpkins@fb.com>
Fri, 19 Jan 2018 04:43:24 +0000 (20:43 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 19 Jan 2018 05:04:33 +0000 (21:04 -0800)
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

index 2d330de3081e3ebbe4ecbe1e7f521b4cd87626a5..6aa82b6796718cf3f8b8be64104171960b544c9d 100755 (executable)
@@ -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")