diff --git a/cpp/LunaHook/LunaHook/CMakeLists.txt b/cpp/LunaHook/LunaHook/CMakeLists.txt index 26ad232c..581546b1 100644 --- a/cpp/LunaHook/LunaHook/CMakeLists.txt +++ b/cpp/LunaHook/LunaHook/CMakeLists.txt @@ -51,4 +51,4 @@ target_precompile_headers(LunaHook REUSE_FROM pchhook) set_target_properties(LunaHook PROPERTIES OUTPUT_NAME "LunaHook${bitappendix}") -target_link_libraries(LunaHook Version httpapi ws2_32 Shlwapi pch minhook commonengine utils) \ No newline at end of file +target_link_libraries(LunaHook Version httpapi ws2_32 Shlwapi pch minhook commonengine utils ${YY_Thunks_for_WinXP}) \ No newline at end of file diff --git a/cpp/LunaHook/LunaHost/CMakeLists.txt b/cpp/LunaHook/LunaHost/CMakeLists.txt index 33c2c096..b71cd399 100644 --- a/cpp/LunaHook/LunaHost/CMakeLists.txt +++ b/cpp/LunaHook/LunaHost/CMakeLists.txt @@ -21,13 +21,13 @@ target_include_directories(host PUBLIC .) add_library(LunaHostDll MODULE LunaHostDll.cpp ${versioninfohost}) target_precompile_headers(LunaHostDll REUSE_FROM pch) set_target_properties(LunaHostDll PROPERTIES OUTPUT_NAME "LunaHost${bitappendix}") -target_link_libraries(LunaHostDll pch host) +target_link_libraries(LunaHostDll pch host ${YY_Thunks_for_WinXP}) if(BUILD_CLI) add_executable(LunaHostCLI LunaHostCLI.cpp ${versioninfohost}) target_precompile_headers(LunaHostCLI REUSE_FROM pch) set_target_properties(LunaHostCLI PROPERTIES OUTPUT_NAME "LunaHostCLI${bitappendix}") -target_link_libraries(LunaHostCLI pch host) +target_link_libraries(LunaHostCLI pch host ${YY_Thunks_for_WinXP}) endif() add_subdirectory(GUI) \ No newline at end of file diff --git a/cpp/LunaHook/LunaHost/GUI/CMakeLists.txt b/cpp/LunaHook/LunaHost/GUI/CMakeLists.txt index d99cf1ed..2c6c5be8 100644 --- a/cpp/LunaHook/LunaHost/GUI/CMakeLists.txt +++ b/cpp/LunaHook/LunaHost/GUI/CMakeLists.txt @@ -3,7 +3,7 @@ if(BUILD_GUI) add_executable(LunaHost WIN32 confighelper.cpp controls.cpp main.cpp processlistwindow.cpp LunaHost.cpp window.cpp ../../../exec/luna.rc pluginmanager.cpp Plugin/extensionimpl.cpp Plugin/copyclipboard.cpp QtLoader_inline.cpp app.manifest ${versioninfohost}) target_precompile_headers(LunaHost REUSE_FROM pch) set_target_properties(LunaHost PROPERTIES OUTPUT_NAME "LunaHost${bitappendix}") -target_link_libraries(LunaHost comctl32 winhttp pch host nlohmann) +target_link_libraries(LunaHost comctl32 winhttp pch host nlohmann ${YY_Thunks_for_WinXP}) endif() if(BUILD_PLUGIN)