Package: psi4 / 1:1.2.1-2

relax_external_cmake_requirements.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- ./external/upstream/pybind11/CMakeLists.txt.orig	2018-12-01 16:23:57.909133245 +0100
+++ ./external/upstream/pybind11/CMakeLists.txt	2018-12-01 16:25:07.609997661 +0100
@@ -1,4 +1,4 @@
-find_package(pybind11 2.2.3 EXACT CONFIG QUIET)
+find_package(pybind11 2.2 CONFIG QUIET)
 
 if(${pybind11_FOUND})
     message(STATUS "${Cyan}Found pybind11${ColourReset}: ${pybind11_INCLUDE_DIR} (found version ${pybind11_VERSION})")
--- ./psi4/CMakeLists.txt.orig	2018-12-09 14:55:24.787226012 +0100
+++ ./psi4/CMakeLists.txt	2018-12-09 14:55:30.615106440 +0100
@@ -46,7 +46,7 @@
 
 #  <<  Pybind11 & Python  >>
 set(PYBIND11_CPP_STANDARD "-std=c++${CMAKE_CXX_STANDARD}")
-find_package(pybind11 2.2.3 EXACT CONFIG REQUIRED)
+find_package(pybind11 2.2 CONFIG REQUIRED)
 message(STATUS "${Cyan}Using pybind11${ColourReset}: ${pybind11_INCLUDE_DIR} (version ${pybind11_VERSION} for Py${PYTHON_VERSION_STRING} and ${PYBIND11_CPP_STANDARD})")
 message(STATUS "${Cyan}Using Python ${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}${ColourReset}: ${PYTHON_EXECUTABLE}")