Skip to content

Commit

Permalink
Use Lilv::lilv
Browse files Browse the repository at this point in the history
  • Loading branch information
messmerd committed Feb 12, 2025
1 parent f1d3451 commit 2e65931
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ if(WANT_LV2)

find_package(Lilv)
if(Lilv_FOUND)
set(LILV_LIBRARIES lilv::lilv)
set(LILV_LIBRARIES Lilv::lilv)
endif()

# Ensure both dependencies are found
Expand Down
3 changes: 1 addition & 2 deletions cmake/modules/FindLilv.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@

include(ImportedTargetHelpers)

find_package_config_mode_with_fallback(lilv lilv::lilv
find_package_config_mode_with_fallback(lilv Lilv::lilv
LIBRARY_NAMES "lilv" "lilv-0"
INCLUDE_NAMES "lilv/lilv.h"
PKG_CONFIG "lilv-0"
PREFIX Lilv
)

include(FindPackageHandleStandardArgs)
Expand Down

0 comments on commit 2e65931

Please sign in to comment.