diff --git a/Source/Core/Core/CMakeLists.txt b/Source/Core/Core/CMakeLists.txt index 535e687475..54a2e18db5 100644 --- a/Source/Core/Core/CMakeLists.txt +++ b/Source/Core/Core/CMakeLists.txt @@ -779,7 +779,7 @@ if(MSVC) endif() if(USE_RETRO_ACHIEVEMENTS) - target_link_libraries(core PRIVATE rcheevos) - target_compile_definitions(core PRIVATE -DUSE_RETRO_ACHIEVEMENTS) - target_compile_definitions(core PRIVATE -DRC_CLIENT_SUPPORTS_HASH) + target_link_libraries(core PUBLIC rcheevos) + target_compile_definitions(core PUBLIC -DUSE_RETRO_ACHIEVEMENTS) + target_compile_definitions(core PUBLIC -DRC_CLIENT_SUPPORTS_HASH) endif() diff --git a/Source/Core/UICommon/CMakeLists.txt b/Source/Core/UICommon/CMakeLists.txt index 99db3a4eb8..beb5e16e3f 100644 --- a/Source/Core/UICommon/CMakeLists.txt +++ b/Source/Core/UICommon/CMakeLists.txt @@ -28,6 +28,7 @@ add_library(uicommon target_link_libraries(uicommon PUBLIC common + core cpp-optparse minizip::minizip pugixml diff --git a/Source/Core/VideoCommon/OnScreenUI.cpp b/Source/Core/VideoCommon/OnScreenUI.cpp index c247b139bf..c755fcbfe7 100644 --- a/Source/Core/VideoCommon/OnScreenUI.cpp +++ b/Source/Core/VideoCommon/OnScreenUI.cpp @@ -393,7 +393,7 @@ void OnScreenUI::DrawChallengesAndLeaderboards() ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoFocusOnAppearing)) { for (const auto& value : leaderboard_progress) - ImGui::Text(value.data()); + ImGui::TextUnformatted(value.c_str()); } ImGui::End(); }