diff --git a/texthook/CMakeLists.txt b/texthook/CMakeLists.txt index 0982464..aab5750 100644 --- a/texthook/CMakeLists.txt +++ b/texthook/CMakeLists.txt @@ -20,8 +20,6 @@ set(vnrhost_src textthread.cc ) -include_directories(../) - add_library(vnrhost SHARED ${vnrhost_src}) set_target_properties(vnrhost PROPERTIES LINK_FLAGS /SUBSYSTEM:WINDOWS) diff --git a/texthook/hookman.cc b/texthook/hookman.cc index 7566695..9d723ca 100644 --- a/texthook/hookman.cc +++ b/texthook/hookman.cc @@ -9,9 +9,9 @@ #endif // _MSC_VER #include "hookman.h" -#include "vnrhook/include/const.h" -#include "vnrhook/include/defs.h" -#include "vnrhook/include/types.h" +#include "../vnrhook/include/const.h" +#include "../vnrhook/include/defs.h" +#include "../vnrhook/include/types.h" #include "winmutex.h" #include diff --git a/texthook/hookman.h b/texthook/hookman.h index bdbdf28..fb5328a 100644 --- a/texthook/hookman.h +++ b/texthook/hookman.h @@ -8,7 +8,7 @@ #include "textthread.h" #include #include -#include "vnrhook/include/types.h" +#include "../vnrhook/include/types.h" struct ProcessRecord { diff --git a/texthook/host.cc b/texthook/host.cc index 74e6cc1..5e5393b 100644 --- a/texthook/host.cc +++ b/texthook/host.cc @@ -4,9 +4,9 @@ #include "host.h" #include "pipe.h" -#include "vnrhook/include/const.h" -#include "vnrhook/include/defs.h" -#include "vnrhook/include/types.h" +#include "../vnrhook/include/const.h" +#include "../vnrhook/include/defs.h" +#include "../vnrhook/include/types.h" HANDLE preventDuplicationMutex; diff --git a/texthook/host.h b/texthook/host.h index 36ed001..3919943 100644 --- a/texthook/host.h +++ b/texthook/host.h @@ -6,7 +6,7 @@ #define DLLEXPORT __declspec(dllexport) #include "hookman.h" -#include "vnrhook/include/types.h" +#include "../vnrhook/include/types.h" #include DLLEXPORT void OpenHost(); diff --git a/texthook/pipe.cc b/texthook/pipe.cc index fa69470..d03dd5d 100644 --- a/texthook/pipe.cc +++ b/texthook/pipe.cc @@ -4,8 +4,8 @@ #include "pipe.h" #include "host.h" -#include "vnrhook/include/defs.h" -#include "vnrhook/include/const.h" +#include "../vnrhook/include/defs.h" +#include "../vnrhook/include/const.h" #include extern HookManager* man; diff --git a/texthook/textthread.cc b/texthook/textthread.cc index 7481d5c..8f09409 100644 --- a/texthook/textthread.cc +++ b/texthook/textthread.cc @@ -7,7 +7,7 @@ #include "host.h" #include "textthread.h" -#include "vnrhook/include/const.h" +#include "../vnrhook/include/const.h" #include "winmutex.h" extern HookManager* man;