We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0defac5 commit 5ba0d11Copy full SHA for 5ba0d11
CMakeLists.txt
@@ -110,7 +110,7 @@ endif()
110
111
if (PYBIND11_INSTALL)
112
install(FILES ${PYBIND11_HEADERS}
113
- DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/pybind11)
+ DESTINATION ${PYTHON_INCLUDE_DIRS}/pybind11)
114
# GNUInstallDirs "DATADIR" wrong here; CMake search path wants "share".
115
set(PYBIND11_CMAKECONFIG_INSTALL_DIR "share/cmake/${PROJECT_NAME}" CACHE STRING "install path for pybind11Config.cmake")
116
0 commit comments