Commit 0eca7c9f authored by Adam Simpkins's avatar Adam Simpkins Committed by Facebook Github Bot

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
parent 2e5089d5
...@@ -34,12 +34,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows") ...@@ -34,12 +34,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
"MSVC version '${MSVC_VERSION}' is not supported." "MSVC version '${MSVC_VERSION}' is not supported."
) )
endif() endif()
else()
message(
FATAL_ERROR
"The CMake build should only be used on Windows. "
"For every other platform, use autoconf."
)
endif() endif()
set(FOLLY_DIR "${CMAKE_CURRENT_SOURCE_DIR}/folly") set(FOLLY_DIR "${CMAKE_CURRENT_SOURCE_DIR}/folly")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment