Sentry: Build sentry before starting project definition

since Sentry is C and we're CXX
This commit is contained in:
Lion Kortlepel
2021-08-10 10:25:37 +02:00
committed by Lion
parent 85fd9e9ee3
commit b53b72d604

View File

@@ -3,14 +3,14 @@ cmake_minimum_required(VERSION 3.0)
message(STATUS "You can find build instructions and a list of dependencies in the README at \
https://github.com/BeamMP/BeamMP-Server")
add_subdirectory("include/sentry-native")
# ---- start of CXX section -----
project(BeamMP-Server
DESCRIPTION "Server for BeamMP - The Multiplayer Mod for BeamNG.drive"
HOMEPAGE_URL https://beammp.com
LANGUAGES CXX)
add_subdirectory("include/sentry-native")
message(STATUS "Setting compiler flags")
if (WIN32)
message(STATUS "MSVC -> forcing use of statically-linked runtime.")