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
"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")