Skip to content

Commit 222f73d

Browse files
authored
chore: Support CMake 4+ when configuring dyncall (#1333)
1 parent 1416e96 commit 222f73d

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ configs/addons/metamod/counterstrikesharp.vdf
1212
libraries/mono/
1313

1414
CMakeSettings.json
15+
.vscode/compile_commands.json
1516

1617
build-*/
1718
build/

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ project(counterstrikesharp C CXX ASM)
55

66
include("makefiles/shared.cmake")
77

8+
set(CMAKE_POLICY_VERSION_MINIMUM 3.5)
89
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
910

1011
set(FUNCHOOK_BUILD_TESTS OFF CACHE BOOL "Disable building tests for funchook." FORCE)

0 commit comments

Comments
 (0)