Skip to content

Commit

Permalink
Build: Reduce required cmake version on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Shauren committed Aug 20, 2024
1 parent ab046bd commit 90eed65
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

cmake_minimum_required(VERSION 3.24)
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()

# add this options before PROJECT keyword
set(CMAKE_DISABLE_SOURCE_CHANGES ON)
Expand Down

0 comments on commit 90eed65

Please sign in to comment.