Compare commits
No commits in common. "06bd55c165d4d28f112d9b05c8d67364f94ce36a" and "fcafb1bd7e6038ba268dd39b67d9593a48c6c224" have entirely different histories.
06bd55c165
...
fcafb1bd7e
9
external/CMakeLists.txt
vendored
9
external/CMakeLists.txt
vendored
@ -22,10 +22,8 @@ endif()
|
||||
|
||||
if (NOT TARGET filewatch)
|
||||
FetchContent_Declare(filewatch
|
||||
#GIT_REPOSITORY https://github.com/ThomasMonkman/filewatch.git
|
||||
GIT_REPOSITORY https://github.com/justinboswell/filewatch
|
||||
#GIT_TAG master
|
||||
GIT_TAG 2cef7983449579555799065f31d022b86b739d62
|
||||
GIT_REPOSITORY https://github.com/ThomasMonkman/filewatch.git
|
||||
GIT_TAG master
|
||||
EXCLUDE_FROM_ALL
|
||||
)
|
||||
|
||||
@ -39,8 +37,5 @@ 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()
|
||||
|
@ -22,7 +22,7 @@ bool Factorio::onEvent(const Message::Events::MessageConstruct& e) {
|
||||
return false;
|
||||
}
|
||||
|
||||
void Factorio::onFileEvent(const std::string& path, const filewatch::Event change_type) {
|
||||
void onFileEvent(const std::string& path, const filewatch::Event change_type) {
|
||||
std::cout << "file even " << filewatch::event_to_string(change_type) << " on '" << path << "'\n";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user