From b53b72d60429ad8c37efe7dbd5f759d2ebe42222 Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Tue, 10 Aug 2021 10:25:37 +0200 Subject: [PATCH] Sentry: Build sentry before starting project definition since Sentry is C and we're CXX --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a32ae00..60b84a7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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.")