Skip to content

Commit

Permalink
[cmake] ported over snippet from 85e20ce needed for DynamicVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
evaleev committed May 16, 2024
1 parent 6a91e54 commit 507cd3a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
# Avoid warning about DOWNLOAD_EXTRACT_TIMESTAMP in CMake 3.24:
cmake_policy(SET CMP0135 NEW)
endif()
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.25.0")
# needed by DynamicVersion
cmake_policy(SET CMP0140 NEW)
endif()

############################# Version and Metadata #############################

Expand Down

0 comments on commit 507cd3a

Please sign in to comment.