Skip to content

Commit

Permalink
Avoid cmake warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
guitargeek committed Aug 22, 2023
1 parent 86ade83 commit e9697cd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.5)
set(CMAKE_CXX_STANDARD 98)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

# Avoid warning about DOWNLOAD_EXTRACT_TIMESTAMP in CMake 3.24:
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
cmake_policy(SET CMP0135 NEW)
endif()

project(fastforest)
project(fastforest VERSION 0.2 LANGUAGES CXX)

Expand Down

0 comments on commit e9697cd

Please sign in to comment.