Use a cmake check for linux that actually works.

llvm-svn: 357694
This commit is contained in:
Nico Weber 2019-04-04 13:54:01 +00:00
parent a0ce4ac0c8
commit eefa343df5
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ add_clang_library(clangDaemon
)
add_subdirectory(refactor/tweaks)
if (LINUX)
if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
# FIXME: Make fuzzer not use linux-specific APIs, build it everywhere.
add_subdirectory(fuzzer)
endif()