Skip to content

Commit

Permalink
align minimum CMake version to 3.16 to align with GDAL and PDAL (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu authored Nov 15, 2024
1 parent fdabd27 commit f2fdc7c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
cmake_minimum_required(VERSION 3.11.0)
cmake_minimum_required(VERSION 3.16.0)
project(pdal-python VERSION ${SKBUILD_PROJECT_VERSION}
DESCRIPTION "PDAL Python bindings"
HOMEPAGE_URL "https://github.com/PDAL/Python")

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_BUILD_TYPE "Release")

# Python-finding settings
set(Python3_FIND_STRATEGY "LOCATION")
Expand All @@ -25,7 +24,7 @@ endif()
find_package(Python3 COMPONENTS Interpreter ${DEVELOPMENT_COMPONENT} NumPy REQUIRED)

# find PDAL. Require 2.1+
find_package(PDAL 2.6 REQUIRED)
find_package(PDAL 2.7 REQUIRED)

# find PyBind11
find_package(pybind11 REQUIRED)
Expand Down

0 comments on commit f2fdc7c

Please sign in to comment.