This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
2017-10-31 09:13:21 +00:00
|
|
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/CMakeModules)
|
|
|
|
|
2017-11-16 18:28:15 +00:00
|
|
|
add_executable(citra-room
|
|
|
|
citra-room.cpp
|
|
|
|
citra-room.rc
|
|
|
|
)
|
2017-10-31 09:13:21 +00:00
|
|
|
|
2017-11-16 18:28:15 +00:00
|
|
|
create_target_directory_groups(citra-room)
|
2017-10-31 09:13:21 +00:00
|
|
|
|
|
|
|
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()
|