fix macos

This commit is contained in:
Green Sky 2024-06-10 22:37:46 +02:00
parent 95552a2bf3
commit f275cb02d4
No known key found for this signature in database

View File

@ -39,5 +39,8 @@ if (NOT TARGET filewatch)
) )
target_include_directories(filewatch INTERFACE ${filewatch_SOURCE_DIR}) target_include_directories(filewatch INTERFACE ${filewatch_SOURCE_DIR})
target_compile_features(filewatch INTERFACE cxx_std_11) target_compile_features(filewatch INTERFACE cxx_std_11)
if(APPLE)
target_link_libraries(filewatch INTERFACE "-framework CoreServices")
endif()
endif() endif()
endif() endif()