Skip to content

Commit

Permalink
Revert last change
Browse files Browse the repository at this point in the history
  • Loading branch information
kerim371 committed Dec 21, 2023
1 parent 88fe15d commit 0335544
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ if(H5GEO_USE_GDAL)

foreach(_lib ${GDAL_LIBS})
if(EXISTS ${_lib})
target_link_libraries(GDAL::GDAL PRIVATE ${_lib})
target_link_libraries(GDAL::GDAL INTERFACE ${_lib})
endif()
endforeach()

if(IS_DIRECTORY ${GDAL_LIBS_DIR})
file(GLOB GDAL_LIBS "${GDAL_LIBS_DIR}/lib*")
target_link_libraries(GDAL::GDAL PRIVATE ${GDAL_LIBS})
target_link_libraries(GDAL::GDAL INTERFACE ${GDAL_LIBS})
endif()

target_link_libraries(h5geo PRIVATE GDAL::GDAL)
Expand Down

0 comments on commit 0335544

Please sign in to comment.