mirror of
https://github.com/SantaSpeen/BeamMP-Server.git
synced 2026-06-19 05:20:52 +00:00
switch to toml11
it's better, believe me
This commit is contained in:
+4
-1
@@ -1,5 +1,6 @@
|
||||
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")
|
||||
|
||||
@@ -25,6 +26,7 @@ add_subdirectory("include/sentry-native")
|
||||
|
||||
message(STATUS "Setting compiler flags")
|
||||
if (WIN32)
|
||||
|
||||
#-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows-static
|
||||
set(VcpkgRoot ${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET})
|
||||
include_directories(${VcpkgRoot}/include)
|
||||
@@ -60,6 +62,7 @@ add_subdirectory("socket.io-client-cpp")
|
||||
add_subdirectory("include/commandline")
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DDEBUG")
|
||||
|
||||
message(STATUS "Looking for Boost")
|
||||
@@ -131,4 +134,4 @@ elseif (WIN32)
|
||||
commandline
|
||||
sioclient_tls
|
||||
sentry)
|
||||
endif ()
|
||||
endif ()
|
||||
Reference in New Issue
Block a user