mirror of
https://github.com/SantaSpeen/BeamMP-Server.git
synced 2026-06-19 10:20:53 +00:00
Actions: possible fix for the cmake build error C/CXX issue on GH actions
This commit is contained in:
+7
-4
@@ -1,8 +1,4 @@
|
|||||||
cmake_minimum_required(VERSION 3.0)
|
cmake_minimum_required(VERSION 3.0)
|
||||||
project(BeamMP-Server
|
|
||||||
DESCRIPTION "Server for BeamMP - The Multiplayer Mod for BeamNG.drive"
|
|
||||||
HOMEPAGE_URL https://beammp.com
|
|
||||||
LANGUAGES CXX)
|
|
||||||
|
|
||||||
message(STATUS "You can find build instructions and a list of dependencies in the README at \
|
message(STATUS "You can find build instructions and a list of dependencies in the README at \
|
||||||
https://github.com/BeamMP/BeamMP-Server")
|
https://github.com/BeamMP/BeamMP-Server")
|
||||||
@@ -20,6 +16,13 @@ set(CURL_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/include/curl/include)
|
|||||||
|
|
||||||
add_subdirectory("include/sentry-native")
|
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)
|
||||||
|
|
||||||
message(STATUS "Setting compiler flags")
|
message(STATUS "Setting compiler flags")
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
message(STATUS "MSVC -> forcing use of statically-linked runtime.")
|
message(STATUS "MSVC -> forcing use of statically-linked runtime.")
|
||||||
|
|||||||
Reference in New Issue
Block a user