mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-19 08:11:05 +00:00
21 lines
606 B
CMake
21 lines
606 B
CMake
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/CMakeModules)
|
||
|
|
||
|
set(SRCS
|
||
|
citra-room.cpp
|
||
|
citra-room.rc
|
||
|
)
|
||
|
|
||
|
create_directory_groups(${SRCS})
|
||
|
|
||
|
add_executable(citra-room ${SRCS})
|
||
|
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} SDL2 Threads::Threads)
|
||
|
|
||
|
if(UNIX AND NOT APPLE)
|
||
|
install(TARGETS citra-room RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
|
||
|
endif()
|