update parallel-rdp and enable lto

This commit is contained in:
CocoSimone
2022-12-09 01:36:46 +01:00
parent ad68b1c7d0
commit da25baccad
4 changed files with 7 additions and 4 deletions

View File

@@ -49,6 +49,8 @@ target_include_directories(gadolinium PRIVATE
${SDL2_INCLUDE_DIR}
)
set_target_properties(gadolinium PROPERTIES INTERPROCEDURAL_OPTIMIZATION TRUE)
file(COPY ${PROJECT_SOURCE_DIR}/../resources/ DESTINATION ${PROJECT_BINARY_DIR}/resources/)
file(REMOVE
${PROJECT_BINARY_DIR}/resources/mario.png

View File

@@ -295,7 +295,7 @@ inline void UpdateRPC(State state, const std::string& game = "") {
presence.state = textState.c_str();
presence.startTimestamp = time(nullptr);
presence.largeImageText = "Gadolinium";
presence.largeImageKey = "lain";
presence.largeImageKey = "logo";
Discord_UpdatePresence(&presence);
}