switch to toml11

it's better, believe me
This commit is contained in:
Lion Kortlepel
2021-06-25 01:59:38 +02:00
parent 1ff12cb2bf
commit 2cfb27820a
7 changed files with 58 additions and 112 deletions
+4 -1
View File
@@ -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 ()