Skip to content

Commit

Permalink
add $HDF5_DEFINITIONS to compile definitions for mdal
Browse files Browse the repository at this point in the history
  • Loading branch information
gillins authored and nyalldawson committed Feb 3, 2021
1 parent f44b239 commit f4ebcc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/providers/mdal/CMakeLists.txt
Expand Up @@ -194,6 +194,7 @@ endif()
if (HDF5_FOUND)
target_include_directories(mdalprovider PRIVATE ${HDF5_INCLUDE_DIRS})
target_link_libraries(mdalprovider ${HDF5_C_LIBRARIES} )
target_compile_definitions(mdalprovider PRIVATE ${HDF5_DEFINITIONS})
endif()

if (GDAL_FOUND)
Expand Down

0 comments on commit f4ebcc6

Please sign in to comment.