Skip to content

Commit

Permalink
Address pybind11's CMP0148 related dev warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
AmineKhaldi committed Jan 29, 2024
1 parent 8816486 commit 984fc49
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.14 FATAL_ERROR)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)

if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.27)
cmake_policy(VERSION 3.27)
endif()

IF(NOT CMAKE_BUILD_TYPE)
SET(CMAKE_BUILD_TYPE "RELEASE")
ENDIF()
Expand Down

0 comments on commit 984fc49

Please sign in to comment.