Skip to content

Commit f1abea1

Browse files
authored
Update CMakeLists.txt (microsoft#754)
1 parent 0f1f454 commit f1abea1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CMakeLists.txt

+3-2
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
3636
cmake_policy(SET CMP0077 NEW)
3737
endif()
3838

39-
# Avoid warning of Calling FetchContent_Populate(GSL) is deprecated
39+
# Avoid warning of Calling FetchContent_Populate(GSL) is deprecated temporarily
40+
# TODO: find a better way to handle the header-only 3rd party deps
4041
if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.30.0")
41-
cmake_policy(CMP0169 OLD)
42+
cmake_policy(SET CMP0169 OLD)
4243
endif()
4344

4445
# Needed for Java

0 commit comments

Comments
 (0)