Skip to content

Commit

Permalink
Disable FSEvents backed
Browse files Browse the repository at this point in the history
  • Loading branch information
variar committed Apr 25, 2021
1 parent 22bdbbd commit 1f1801d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions 3rdparty/efsw/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ endif()

if (APPLE)
target_sources(efsw PRIVATE
src/efsw/FileWatcherFSEvents.cpp
#src/efsw/FileWatcherFSEvents.cpp
src/efsw/FileWatcherKqueue.cpp
src/efsw/WatcherFSEvents.cpp
#src/efsw/WatcherFSEvents.cpp
src/efsw/WatcherKqueue.cpp
)

if (NOT CMAKE_SYSTEM_VERSION GREATER 9)
target_compile_definitions(efsw PRIVATE EFSW_FSEVENTS_NOT_SUPPORTED)
endif()
#if (NOT CMAKE_SYSTEM_VERSION GREATER 9)
target_compile_definitions(efsw PUBLIC EFSW_FSEVENTS_NOT_SUPPORTED)
#endif()
elseif (WIN32)
target_sources(efsw PRIVATE
src/efsw/FileWatcherWin32.cpp
Expand Down

0 comments on commit 1f1801d

Please sign in to comment.