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 24, 2024
1 parent 8816486 commit 32483f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.14 FATAL_ERROR)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)

cmake_policy(SET CMP0148 NEW)

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

0 comments on commit 32483f1

Please sign in to comment.