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 e1004d2 commit 7a2ca45Copy full SHA for 7a2ca45
CMakeLists.txt
@@ -66,6 +66,8 @@ set_property(TARGET h5fortran PROPERTY VERSION ${PROJECT_VERSION})
66
# GLOBAL needed for use by FetchContent
67
add_library(h5fortran::h5fortran INTERFACE IMPORTED GLOBAL)
68
target_link_libraries(h5fortran::h5fortran INTERFACE h5fortran)
69
+file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include)
70
+# avoid race condition when used by FetchContent
71
72
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/include/h5fortran.mod DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
73
0 commit comments