Skip to content

Commit 2f31722

Browse files
authored
Link HighFive if found
1 parent 2535b84 commit 2f31722

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/external/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ if( GAUXC_ENABLE_HDF5 )
3131
set(HIGHFIVE_BUILD_DOCS OFF CACHE BOOL "" )
3232
FetchContent_MakeAvailable( HighFive )
3333

34-
target_sources( gauxc PRIVATE hdf5_write.cxx hdf5_read.cxx )
35-
target_link_libraries( gauxc PUBLIC HighFive )
3634
endif()
35+
target_sources( gauxc PRIVATE hdf5_write.cxx hdf5_read.cxx )
36+
target_link_libraries( gauxc PUBLIC HighFive )
3737
else()
3838
message(WARNING "GAUXC_ENABLE_HDF5 was enabled, but HDF5 was not found, Disabling HDF5 Bindings")
3939
endif()

0 commit comments

Comments
 (0)