mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 19:24:40 +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)
|
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||||
|
|
||||||
# Add slog submodule
|
# Add slog submodule
|
||||||
|
if(POLICY CMP0000)
|
||||||
|
cmake_policy(VERSION 3.5)
|
||||||
|
endif()
|
||||||
add_subdirectory(3rdparty/slog)
|
add_subdirectory(3rdparty/slog)
|
||||||
|
|
||||||
include_directories(include 3rdparty/uthash/src)
|
include_directories(include 3rdparty/uthash/src)
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
cmake_minimum_required(VERSION 3.13)
|
||||||
|
|
||||||
# 'Google_test' is the subproject name
|
# 'Google_test' is the subproject name
|
||||||
project(tests)
|
project(tests)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user