Skip to content

Commit 2264a61

Browse files
committed
[Fix]: Set CMAKE_POLICY_VERSION_MINIMUM to suppress dependency errors
1 parent 5b7402e commit 2264a61

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
55
set(CMAKE_CXX_STANDARD 17)
66
set(CMAKE_CXX_STANDARD_REQUIRED ON)
77

8+
# TODO: Remove this when upgrading to a newer version of backward-cpp (newer than v1.6)
9+
set(CMAKE_POLICY_VERSION_MINIMUM 3.14 CACHE STRING "" FORCE)
10+
811
if(MSVC)
912
# Ensure debug symbols are generated and linked
1013
add_compile_options(/Zi)

0 commit comments

Comments
 (0)