Skip to content

Commit

Permalink
Set CMP0177 policy
Browse files Browse the repository at this point in the history
Fix warnings on CMake >3.31
  • Loading branch information
ajtribick committed Dec 11, 2024
1 parent 92fe69c commit 87d8ddb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@

cmake_minimum_required(VERSION 3.8)

# Normalize install(DESTINATION) paths
if(POLICY CMP0177)
cmake_policy(SET CMP0177 NEW)
endif()

# set languages to C to stop GNUInstallDirs from complaining
project(celestia VERSION "1.7.0" LANGUAGES C)

Expand Down

0 comments on commit 87d8ddb

Please sign in to comment.