mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 11:14:39 +00:00
Update CMakeLists.txt to require CMake version 3.13 and set policy for compatibility
This commit is contained in:
@@ -185,6 +185,9 @@ endif()
|
||||
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
# Add slog submodule
|
||||
if(POLICY CMP0000)
|
||||
cmake_policy(VERSION 3.5)
|
||||
endif()
|
||||
add_subdirectory(3rdparty/slog)
|
||||
|
||||
include_directories(include 3rdparty/uthash/src)
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
cmake_minimum_required(VERSION 3.13)
|
||||
|
||||
# 'Google_test' is the subproject name
|
||||
project(tests)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user