mirror of
https://github.com/RYDE-WORK/pybind11.git
synced 2026-01-25 08:23:22 +08:00
use CMAKE_INSTALL_FULL_INCLUDEDIR (#3005)
This commit is contained in:
parent
9b3b357706
commit
d00fc62931
@ -201,7 +201,7 @@ Using ``find_package`` with version info is not recommended except for release v
|
||||
@PACKAGE_INIT@
|
||||
|
||||
# Location of pybind11/pybind11.h
|
||||
set(pybind11_INCLUDE_DIR "${PACKAGE_PREFIX_DIR}/@CMAKE_INSTALL_INCLUDEDIR@")
|
||||
set(pybind11_INCLUDE_DIR "@CMAKE_INSTALL_FULL_INCLUDEDIR@")
|
||||
|
||||
set(pybind11_LIBRARY "")
|
||||
set(pybind11_DEFINITIONS USING_pybind11)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user