Skip to content

Commit

Permalink
(chore) set min version of cmake in native CmakeLists.txt to surpass …
Browse files Browse the repository at this point in the history
…Cmake CMP0000 policy warning (#93437)

* (chore) set min version of cmake in native CmakeLists.txt to surpass policy CMP0000 of Cmake

* (chore) set min cmae version to 3.10

---------

Co-authored-by: Jan Kotas <[email protected]>
Co-authored-by: Jeremy Koritzinsky <[email protected]>
  • Loading branch information
3 people authored Oct 14, 2023
1 parent 28cf63f commit 5233eea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/native/libs/System.Globalization.Native/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Required for StaticICULinking
cmake_minimum_required(VERSION 3.10..3.20)

project(System.Globalization.Native C)

if(CLR_CMAKE_TARGET_UNIX OR CLR_CMAKE_TARGET_WASI)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Required for StaticOpenSslLinking
cmake_minimum_required(VERSION 3.10..3.20)

project(System.Security.Cryptography.Native C)

# These are happening inside of OpenSSL-defined macros out of our control
Expand Down

0 comments on commit 5233eea

Please sign in to comment.