Skip to content

Commit 802ed7d

Browse files
committed
fix cmake version issue
1 parent 70c859e commit 802ed7d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

deps/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
cmake_minimum_required(VERSION 3.8)
22

3-
cmake_policy(SET CMP0169 OLD) # use deprecated FetchContent_Populate
3+
if(POLICY CMP0169)
4+
cmake_policy(SET CMP0169 OLD) # use deprecated FetchContent_Populate
5+
endif()
46

57
# We will accumulate all depenency includes and link libraries here
68
# (can be relative paths when building list, we will convert all to absolute at end)

0 commit comments

Comments
 (0)