Skip to content

Commit

Permalink
Fix casing of packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
teo-tsirpanis committed May 29, 2024
1 parent cd41c7c commit 917b7cf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/cpp_api/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ foreach(EXAMPLE_SOURCE ${TILEDB_EXAMPLE_SOURCES_CPPAPI})
target_link_libraries(png_ingestion_webp_cpp PRIVATE "${PNG_LIBRARIES}")
target_include_directories(png_ingestion_webp_cpp PRIVATE "${PNG_INCLUDE_DIRS}")
target_compile_definitions(png_ingestion_webp_cpp PRIVATE "${PNG_DEFINITIONS}")
find_package(Webp REQUIRED)
find_package(WebP REQUIRED)
target_link_libraries(png_ingestion_webp_cpp PRIVATE WebP::webp)
target_compile_definitions(png_ingestion_webp_cpp PRIVATE -DTILEDB_WEBP)
endif()
Expand Down
6 changes: 3 additions & 3 deletions tiledb/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -598,9 +598,9 @@ endif()
# which is installed here.
find_package(BZip2 REQUIRED)
find_package(LZ4 REQUIRED)
find_package(Spdlog REQUIRED)
find_package(spdlog REQUIRED)
find_package(ZLIB REQUIRED)
find_package(Zstd REQUIRED)
find_package(zstd REQUIRED)
find_package(LibMagic MODULE REQUIRED)
target_link_libraries(TILEDB_CORE_OBJECTS_ILIB
INTERFACE
Expand All @@ -613,7 +613,7 @@ target_link_libraries(TILEDB_CORE_OBJECTS_ILIB
)

if(TILEDB_WEBP)
find_package(Webp REQUIRED)
find_package(WebP REQUIRED)
target_link_libraries(TILEDB_CORE_OBJECTS_ILIB
INTERFACE
WebP::webp
Expand Down
2 changes: 1 addition & 1 deletion tiledb/common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ commence(object_library baseline)
if (TILEDB_USE_CPP17_PMR)
this_target_sources(polymorphic_allocator/polymorphic_allocator.cc)
endif()
find_package(Spdlog REQUIRED)
find_package(spdlog REQUIRED)
target_link_libraries(baseline PUBLIC spdlog::spdlog)
target_link_libraries(baseline PUBLIC common)
conclude(object_library)
Expand Down
4 changes: 2 additions & 2 deletions tiledb/sm/filter/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ conclude(object_library)
#target_link_libraries(webp_filter PUBLIC tile $<TARGET_OBJECTS:tile>)
#if(TILEDB_WEBP)
# target_compile_definitions(webp_filter PUBLIC -DTILEDB_WEBP)
# find_package(Webp REQUIRED)
# find_package(WebP REQUIRED)
# target_link_libraries(webp_filter PRIVATE WebP::webp)
#endif()

Expand All @@ -138,7 +138,7 @@ commence(object_library webp_filter)
this_target_object_libraries(filter misc_types tile)
if(TILEDB_WEBP)
this_target_compile_definitions(-DTILEDB_WEBP)
find_package(Webp REQUIRED)
find_package(WebP REQUIRED)
this_target_link_libraries(WebP::webp)
endif()
conclude(object_library)
Expand Down

0 comments on commit 917b7cf

Please sign in to comment.