mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-10 20:52:42 +01:00
16 lines
434 B
CMake
16 lines
434 B
CMake
cmake_minimum_required(VERSION 3.2)
|
|
project(fosscord-media)
|
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
|
|
find_package(Threads REQUIRED)
|
|
|
|
find_package(mongocxx REQUIRED)
|
|
find_package(Boost REQUIRED)
|
|
|
|
|
|
file(GLOB SourceFiles ${PROJECT_SOURCE_DIR}/src/*.cpp)
|
|
#include_directories("bsoncxx/v_noabi/bsoncxx/")
|
|
add_executable(${CMAKE_PROJECT_NAME} ${SourceFiles})
|
|
|
|
target_link_libraries(${CMAKE_PROJECT_NAME} datachannel mongo::mongocxx_shared Boost::boost) |