Skip to content

Commit

Permalink
CMakeLists.txt: Set CMP0167 only for versions of CMake that recognize it
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengtuggy authored Dec 21, 2024
1 parent 08caa64 commit 54be818
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion engine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@

CMAKE_MINIMUM_REQUIRED(VERSION 3.16 FATAL_ERROR)

CMAKE_POLICY(SET CMP0167 OLD)
IF (POLICY CMP0167)
CMAKE_POLICY (SET CMP0167 OLD)
ENDIF (POLICY CMP0167)

SET(VEGASTRIKE_VERSION_MAJOR "0")
SET(VEGASTRIKE_VERSION_MINOR "9")
Expand Down

0 comments on commit 54be818

Please sign in to comment.