diff options
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 63b36affe07..3c0ec29fa32 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,11 +8,7 @@ # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -if(WIN32) - cmake_minimum_required(VERSION 3.24) # required for querying windows registry with cmake_host_system_information -else() - cmake_minimum_required(VERSION 3.22) -endif() +cmake_minimum_required(VERSION 3.24) # add this options before PROJECT keyword set(CMAKE_DISABLE_SOURCE_CHANGES ON) |