Skip to content

Commit

Permalink
Correct installation of _h5py.wrap.hxx
Browse files Browse the repository at this point in the history
  • Loading branch information
parcollet committed Jan 24, 2024
1 parent 07e6966 commit 920a2ee
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion c++/h5/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 ==========

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion c++/h5/h5.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ namespace h5 {

// Python wrapping declaration
#ifdef C2PY_INCLUDED
#include "../python/h5/_h5py.wrap.hxx"
#include <h5/_h5py.wrap.hxx>
#endif


Expand Down

0 comments on commit 920a2ee

Please sign in to comment.