diff --git a/.gitignore b/.gitignore index 5abc2076e..876e2d122 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ configs/addons/metamod/counterstrikesharp.vdf libraries/mono/ CMakeSettings.json +.vscode/compile_commands.json build-*/ build/ diff --git a/CMakeLists.txt b/CMakeLists.txt index d60e14321..4b4675fa9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,6 +5,7 @@ project(counterstrikesharp C CXX ASM) include("makefiles/shared.cmake") +set(CMAKE_POLICY_VERSION_MINIMUM 3.5) set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>") set(FUNCHOOK_BUILD_TESTS OFF CACHE BOOL "Disable building tests for funchook." FORCE)