From e9080bf8856b64d17156469de521e6741acf6c64 Mon Sep 17 00:00:00 2001 From: Varun Agrawal Date: Tue, 12 Jan 2021 20:45:43 -0500 Subject: [PATCH] Squashed 'wrap/' changes from 09f8bbf71..186ed2c79 186ed2c79 Merge pull request #26 from borglab/fix/required 9af1b8f09 unmake python cmake package as required git-subtree-dir: wrap git-subtree-split: 186ed2c792f80bbd315e747ef8622f8355c626f6 --- CMakeLists.txt | 2 +- cmake/GtwrapUtils.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4c89ab96e1..c5e8c46de5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,7 +39,7 @@ install(DIRECTORY pybind11 TYPE LIB) find_package( Python ${WRAP_PYTHON_VERSION} COMPONENTS Interpreter - REQUIRED) + EXACT) # Detect virtualenv and set Pip args accordingly # https://www.scivision.dev/cmake-install-python-package/ diff --git a/cmake/GtwrapUtils.cmake b/cmake/GtwrapUtils.cmake index 9c6b141a06..b5f7912507 100644 --- a/cmake/GtwrapUtils.cmake +++ b/cmake/GtwrapUtils.cmake @@ -68,7 +68,7 @@ macro(gtwrap_get_python_version WRAP_PYTHON_VERSION) find_package( Python ${WRAP_PYTHON_VERSION} COMPONENTS Interpreter Development - EXACT REQUIRED) + EXACT) endif() endmacro()