From f275cb02d4b3b72f5d5a573e835cb3045b17b198 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Mon, 10 Jun 2024 22:37:46 +0200 Subject: [PATCH] fix macos --- external/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt index afa96ee..f215d51 100644 --- a/external/CMakeLists.txt +++ b/external/CMakeLists.txt @@ -39,5 +39,8 @@ if (NOT TARGET filewatch) ) target_include_directories(filewatch INTERFACE ${filewatch_SOURCE_DIR}) target_compile_features(filewatch INTERFACE cxx_std_11) + if(APPLE) + target_link_libraries(filewatch INTERFACE "-framework CoreServices") + endif() endif() endif()