Browse Source
fix room
Signed-off-by: crueter <crueter@eden-emu.dev>
pull/2994/head
crueter
3 months ago
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
3 changed files with
13 additions and
4 deletions
-
src/dedicated_room/CMakeLists.txt
-
src/yuzu_cmd/CMakeLists.txt
-
src/yuzu_room_standalone/CMakeLists.txt
|
|
|
@ -4,9 +4,6 @@ |
|
|
|
# SPDX-FileCopyrightText: 2017 Citra Emulator Project |
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later |
|
|
|
|
|
|
|
# SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project |
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later |
|
|
|
|
|
|
|
add_library(yuzu-room STATIC EXCLUDE_FROM_ALL |
|
|
|
yuzu_room.cpp |
|
|
|
yuzu_room.h |
|
|
|
|
|
|
|
@ -59,7 +59,7 @@ create_target_directory_groups(yuzu-cmd) |
|
|
|
|
|
|
|
if (YUZU_STATIC_BUILD) |
|
|
|
# yuzu-cmd requires us to explicitly link libpthread, libgcc, and libstdc++ as static |
|
|
|
# At a guess, it's probably because Qt handles the Qt executable for us |
|
|
|
# At a guess, it's probably because Qt handles the Qt executable for us, whereas this does not |
|
|
|
target_link_options(yuzu-cmd PRIVATE -static -lpthread) |
|
|
|
target_link_options(yuzu-cmd PRIVATE -static-libgcc -static-libstdc++) |
|
|
|
endif() |
|
|
|
@ -1,3 +1,6 @@ |
|
|
|
# SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project |
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later |
|
|
|
|
|
|
|
add_executable(yuzu_room_standalone |
|
|
|
yuzu_room_standalone.cpp |
|
|
|
) |
|
|
|
@ -9,3 +12,12 @@ target_link_libraries(yuzu_room_standalone PRIVATE yuzu-room) |
|
|
|
if(UNIX AND NOT APPLE) |
|
|
|
install(TARGETS yuzu_room_standalone RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin") |
|
|
|
endif() |
|
|
|
|
|
|
|
if (YUZU_STATIC_BUILD) |
|
|
|
# yuzu_room_standalone requires us to explicitly link libpthread, libgcc, and libstdc++ as static |
|
|
|
# At a guess, it's probably because Qt handles the Qt executable for us, whereas this does not |
|
|
|
target_link_options(yuzu_room_standalone PRIVATE -static -lpthread) |
|
|
|
target_link_options(yuzu_room_standalone PRIVATE -static-libgcc -static-libstdc++) |
|
|
|
endif() |
|
|
|
|
|
|
|
create_target_directory_groups(yuzu_room_standalone) |