Skip to content

Commit

Permalink
CMake: webp change
Browse files Browse the repository at this point in the history
  • Loading branch information
gwaldron committed May 17, 2024
1 parent c1bbd4b commit f60862f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/osgEarthDrivers/webp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
find_package(WEBP)
find_package(WebP)

if (WEBP_FOUND)
if (WebP_FOUND)
message(STATUS "Found WebP ${WEBP_VERSION}")
include_directories(${WEBP_INCLUDE_DIRS})
add_osgearth_plugin(
TARGET osgdb_webp
SOURCES ReaderWriterWebP.cpp
LIBRARIES ${WEBP_LIBRARIES})
SOURCES ReaderWriterWebP.cpp)
target_link_libraries(osgdb_webp PRIVATE WebP::webp)
endif()

0 comments on commit f60862f

Please sign in to comment.