Commit 1be2277a authored by Biswapriyo Nath's avatar Biswapriyo Nath Committed by Facebook GitHub Bot

CMake: include FollyCompilerMSVC if the compiler is MSVC (#1421)

Summary: Pull Request resolved: https://github.com/facebook/folly/pull/1421

Reviewed By: yfeldblum

Differential Revision: D23023218

Pulled By: Orvid

fbshipit-source-id: 7cc182319dece37b9f2db42958717fa70b526025
parent 694c1cbc
......@@ -103,7 +103,7 @@ set(FOLLY_HAVE_PTHREAD "${CMAKE_USE_PTHREADS_INIT}")
list(APPEND CMAKE_REQUIRED_LIBRARIES Threads::Threads)
list(APPEND FOLLY_LINK_LIBRARIES Threads::Threads)
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
if(MSVC)
include(FollyCompilerMSVC)
else()
include(FollyCompilerUnix)
......
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