1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-15 23:22:38 +01:00
server/rtc/CMakeLists.txt

16 lines
434 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.2)
2021-05-21 11:13:17 +02:00
project(fosscord-media)
set(CMAKE_CXX_STANDARD 17)
find_package(Threads REQUIRED)
find_package(mongocxx REQUIRED)
find_package(Boost REQUIRED)
2021-05-21 11:13:17 +02:00
file(GLOB SourceFiles ${PROJECT_SOURCE_DIR}/src/*.cpp)
#include_directories("bsoncxx/v_noabi/bsoncxx/")
2021-05-21 11:13:17 +02:00
add_executable(${CMAKE_PROJECT_NAME} ${SourceFiles})
target_link_libraries(${CMAKE_PROJECT_NAME} datachannel mongo::mongocxx_shared Boost::boost)