This commit is contained in:
恍兮惚兮 2024-11-15 07:06:49 +08:00
parent 4347d06137
commit f99d8be25c
3 changed files with 4 additions and 4 deletions

View File

@ -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)
target_link_libraries(LunaHook Version httpapi ws2_32 Shlwapi pch minhook commonengine utils ${YY_Thunks_for_WinXP})

View File

@ -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)

View File

@ -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)