mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-15 12:00:06 +00:00
cef88965d7
Fixes #3538
20 lines
565 B
CMake
20 lines
565 B
CMake
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/CMakeModules)
|
|
|
|
add_executable(citra-room
|
|
citra-room.cpp
|
|
citra-room.rc
|
|
)
|
|
|
|
create_target_directory_groups(citra-room)
|
|
|
|
target_link_libraries(citra-room PRIVATE common core network)
|
|
target_link_libraries(citra-room PRIVATE glad)
|
|
if (MSVC)
|
|
target_link_libraries(citra-room PRIVATE getopt)
|
|
endif()
|
|
target_link_libraries(citra-room PRIVATE ${PLATFORM_LIBRARIES} Threads::Threads)
|
|
|
|
if(UNIX AND NOT APPLE)
|
|
install(TARGETS citra-room RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
|
|
endif()
|