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: 186ed2c792f80bbd315e747ef8622f8355c626f6release/4.3a0
parent
7cc7232a99
commit
e9080bf885
|
@ -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/
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue