Commit 53a338c0 by Lori A. Burns Committed by Wenzel Jakob

fix one lingering ::pybind11 --> ::module target name (#603)

parent 5b5e3de3
...@@ -71,7 +71,7 @@ if(NOT (CMAKE_VERSION VERSION_LESS 3.0)) ...@@ -71,7 +71,7 @@ if(NOT (CMAKE_VERSION VERSION_LESS 3.0))
# Don't include targets if this file is being picked up by another # Don't include targets if this file is being picked up by another
# project which has already built this as a subproject # project which has already built this as a subproject
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
if(NOT TARGET ${PN}::pybind11) if(NOT TARGET ${PN}::module)
include("${CMAKE_CURRENT_LIST_DIR}/${PN}Targets.cmake") include("${CMAKE_CURRENT_LIST_DIR}/${PN}Targets.cmake")
find_package(PythonLibsNew ${PYBIND11_PYTHON_VERSION} MODULE REQUIRED) find_package(PythonLibsNew ${PYBIND11_PYTHON_VERSION} MODULE REQUIRED)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment