mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Fix building with CMake versions below 3.24
There's also no need to explicitly set CMP0015 to NEW as that's included when setting the minimum required CMake version.
This commit is contained in:
+3
-2
@@ -1,6 +1,7 @@
|
||||
cmake_minimum_required(VERSION 3.8)
|
||||
cmake_policy(SET CMP0015 NEW)
|
||||
cmake_policy(SET CMP0135 NEW)
|
||||
if(POLICY CMP0135)
|
||||
cmake_policy(SET CMP0135 NEW)
|
||||
endif()
|
||||
project(libloot)
|
||||
include(ExternalProject)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user