Skip to content

Commit

Permalink
Update CMakeLists.txt (#754)
Browse files Browse the repository at this point in the history
  • Loading branch information
wenbingl authored Jun 25, 2024
1 parent 0f1f454 commit f1abea1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
cmake_policy(SET CMP0077 NEW)
endif()

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

# Needed for Java
Expand Down

0 comments on commit f1abea1

Please sign in to comment.