Merge pull request #664 from borglab/update/wrapper

Update wrapper
release/4.3a0
Fan Jiang 2021-01-13 09:14:47 -05:00 committed by GitHub
commit 9ff19de6e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ install(DIRECTORY pybind11
find_package( find_package(
Python ${WRAP_PYTHON_VERSION} Python ${WRAP_PYTHON_VERSION}
COMPONENTS Interpreter COMPONENTS Interpreter
REQUIRED) EXACT)
# Detect virtualenv and set Pip args accordingly # Detect virtualenv and set Pip args accordingly
# https://www.scivision.dev/cmake-install-python-package/ # https://www.scivision.dev/cmake-install-python-package/

View File

@ -68,7 +68,7 @@ macro(gtwrap_get_python_version WRAP_PYTHON_VERSION)
find_package( find_package(
Python ${WRAP_PYTHON_VERSION} Python ${WRAP_PYTHON_VERSION}
COMPONENTS Interpreter Development COMPONENTS Interpreter Development
EXACT REQUIRED) EXACT)
endif() endif()
endmacro() endmacro()