Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 758167 | Differences between
and this patch

Collapse All | Expand All

(-)clang/lib/DirectoryWatcher/CMakeLists.txt (-5 / +1 lines)
Lines 6-16 Link Here
6
set(DIRECTORY_WATCHER_LINK_LIBS "")
6
set(DIRECTORY_WATCHER_LINK_LIBS "")
7
7
8
if(APPLE)
8
if(APPLE)
9
  check_include_files("CoreServices/CoreServices.h" HAVE_CORESERVICES)
9
  list(APPEND DIRECTORY_WATCHER_SOURCES default/DirectoryWatcher-not-implemented.cpp)
10
  if(HAVE_CORESERVICES)
11
    list(APPEND DIRECTORY_WATCHER_SOURCES mac/DirectoryWatcher-mac.cpp)
12
    set(DIRECTORY_WATCHER_LINK_LIBS "-framework CoreServices")
13
  endif()
14
elseif(CMAKE_SYSTEM_NAME MATCHES "Linux")
10
elseif(CMAKE_SYSTEM_NAME MATCHES "Linux")
15
  check_include_files("sys/inotify.h" HAVE_INOTIFY)
11
  check_include_files("sys/inotify.h" HAVE_INOTIFY)
16
  if(HAVE_INOTIFY)
12
  if(HAVE_INOTIFY)

Return to bug 758167