2022-08-16 20:55:47 +00:00
|
|
|
# SPDX-FileCopyrightText: 2017 Citra Emulator Project
|
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
|
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/CMakeModules)
|
|
|
|
|
|
|
|
add_executable(yuzu-room
|
|
|
|
yuzu_room.cpp
|
|
|
|
yuzu_room.rc
|
|
|
|
)
|
|
|
|
|
|
|
|
create_target_directory_groups(yuzu-room)
|
|
|
|
|
2022-08-30 08:26:34 +00:00
|
|
|
target_link_libraries(yuzu-room PRIVATE common network)
|
2022-08-16 20:55:47 +00:00
|
|
|
if (ENABLE_WEB_SERVICE)
|
|
|
|
target_compile_definitions(yuzu-room PRIVATE -DENABLE_WEB_SERVICE)
|
|
|
|
target_link_libraries(yuzu-room PRIVATE web_service)
|
|
|
|
endif()
|
|
|
|
|
2022-09-08 23:05:23 +00:00
|
|
|
target_link_libraries(yuzu-room PRIVATE mbedtls mbedcrypto)
|
2022-08-16 20:55:47 +00:00
|
|
|
if (MSVC)
|
|
|
|
target_link_libraries(yuzu-room PRIVATE getopt)
|
|
|
|
endif()
|
|
|
|
target_link_libraries(yuzu-room PRIVATE ${PLATFORM_LIBRARIES} Threads::Threads)
|
|
|
|
|
|
|
|
if(UNIX AND NOT APPLE)
|
2022-10-02 12:51:47 +00:00
|
|
|
install(TARGETS yuzu-room)
|
2022-08-16 20:55:47 +00:00
|
|
|
endif()
|