2017-10-31 04:13:21 -05:00
|
|
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/CMakeModules)
|
|
|
|
|
2017-11-16 12:28:15 -06:00
|
|
|
add_executable(citra-room
|
|
|
|
citra-room.cpp
|
|
|
|
citra-room.rc
|
|
|
|
)
|
2017-10-31 04:13:21 -05:00
|
|
|
|
2017-11-16 12:28:15 -06:00
|
|
|
create_target_directory_groups(citra-room)
|
2017-10-31 04:13:21 -05:00
|
|
|
|
|
|
|
target_link_libraries(citra-room PRIVATE common core network)
|
2018-10-27 02:46:58 -05:00
|
|
|
if (ENABLE_WEB_SERVICE)
|
|
|
|
target_compile_definitions(citra-room PRIVATE -DENABLE_WEB_SERVICE)
|
|
|
|
target_link_libraries(citra-room PRIVATE web_service)
|
|
|
|
endif()
|
|
|
|
|
2019-11-09 01:42:37 -06:00
|
|
|
target_link_libraries(citra-room PRIVATE cryptopp glad)
|
2017-10-31 04:13:21 -05:00
|
|
|
if (MSVC)
|
|
|
|
target_link_libraries(citra-room PRIVATE getopt)
|
|
|
|
endif()
|
2018-04-06 14:27:47 -05:00
|
|
|
target_link_libraries(citra-room PRIVATE ${PLATFORM_LIBRARIES} Threads::Threads)
|
2017-10-31 04:13:21 -05:00
|
|
|
|
|
|
|
if(UNIX AND NOT APPLE)
|
|
|
|
install(TARGETS citra-room RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
|
|
|
|
endif()
|