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 369ac4e commit d6aa3ffCopy full SHA for d6aa3ff
CMakeLists.txt
@@ -108,8 +108,7 @@ if(NOT (CMAKE_VERSION VERSION_LESS 3.0)) # CMake >= 3.0
108
endif()
109
110
if (PYBIND11_INSTALL)
111
- install(FILES ${PYBIND11_HEADERS}
112
- DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/pybind11)
+ install(DIRECTORY ${PYBIND11_INCLUDE_DIR}/pybind11 DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
113
# GNUInstallDirs "DATADIR" wrong here; CMake search path wants "share".
114
set(PYBIND11_CMAKECONFIG_INSTALL_DIR "share/cmake/${PROJECT_NAME}" CACHE STRING "install path for pybind11Config.cmake")
115
0 commit comments