From 920a2ee511a936d982f2ebf58252cc3d9e4824dc Mon Sep 17 00:00:00 2001 From: Olivier Parcollet Date: Tue, 23 Jan 2024 19:20:23 -0500 Subject: [PATCH] Correct installation of _h5py.wrap.hxx --- c++/h5/CMakeLists.txt | 2 +- {python => c++}/h5/_h5py.wrap.hxx | 0 c++/h5/h5.hpp | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename {python => c++}/h5/_h5py.wrap.hxx (100%) diff --git a/c++/h5/CMakeLists.txt b/c++/h5/CMakeLists.txt index 055be7f5..1222af75 100644 --- a/c++/h5/CMakeLists.txt +++ b/c++/h5/CMakeLists.txt @@ -20,7 +20,7 @@ target_compile_definitions(${PROJECT_NAME}_c PUBLIC # Install library and headers install(TARGETS ${PROJECT_NAME}_c EXPORT ${PROJECT_NAME}-targets DESTINATION lib) -install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION include FILES_MATCHING PATTERN "*.hpp" PATTERN "*.h") +install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION include FILES_MATCHING PATTERN "*.hpp" PATTERN "*.h" PATTERN "*.wrap.hxx") # ========= Additional Depdencies ========== diff --git a/python/h5/_h5py.wrap.hxx b/c++/h5/_h5py.wrap.hxx similarity index 100% rename from python/h5/_h5py.wrap.hxx rename to c++/h5/_h5py.wrap.hxx diff --git a/c++/h5/h5.hpp b/c++/h5/h5.hpp index c8293354..84b05057 100644 --- a/c++/h5/h5.hpp +++ b/c++/h5/h5.hpp @@ -59,7 +59,7 @@ namespace h5 { // Python wrapping declaration #ifdef C2PY_INCLUDED -#include "../python/h5/_h5py.wrap.hxx" +#include
#endif