Skip to content

Commit

Permalink
Merge Upgrade libaec to 1.0.6 #1037 (#1038)
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnHDF authored Sep 30, 2021
1 parent 4da60c9 commit 6b9ee19
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion config/cmake_ext_mod/HDFLibMacros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,11 @@ macro (EXTERNAL_SZIP_LIBRARY compress_type encoding)
set (SZIP_LIBRARIES ${SZIP_STATIC_LIBRARY})

set (SZIP_INCLUDE_DIR_GEN "${BINARY_DIR}")
set (SZIP_INCLUDE_DIR "${SOURCE_DIR}/src")
if (USE_LIBAEC)
set (SZIP_INCLUDE_DIR "${SOURCE_DIR}/include")
else ()
set (SZIP_INCLUDE_DIR "${SOURCE_DIR}/src")
endif ()
set (SZIP_FOUND 1)
set (SZIP_INCLUDE_DIRS ${SZIP_INCLUDE_DIR_GEN} ${SZIP_INCLUDE_DIR})
endmacro ()
Expand All @@ -154,6 +158,8 @@ endmacro ()
macro (PACKAGE_SZIP_LIBRARY compress_type)
set (SZIP_HDR "SZconfig")
if (USE_LIBAEC)
set (SZIP_HDR "aec_config")
else ()
set (SZIP_HDR "libaec_Export")
endif ()
add_custom_target (SZIP-GenHeader-Copy ALL
Expand Down

0 comments on commit 6b9ee19

Please sign in to comment.