mirror of
https://github.com/LMMS/lmms.git
synced 2026-05-10 15:53:10 -04:00
* Try to fix MSVC linker error related to lilv * Remove temporary workaround * Temporary debugging messages * oops * Temporary debugging * Try to find FluidSynth using Config mode first * Try again to fix lilv * Fix FluidSynth installed with vcpkg on Windows * Fix lilv from vcpkg * Remove debug flag * Fix for when lilv is not found (*-NOTFOUND evaluates to false) * Use lowercase package name for lv2 * Try using only pkg_check_modules for lv2 * Use Lilv::lilv * Add pkg-config guard back in * Fix package name Co-authored-by: Tres Finocchiaro <tres.finocchiaro@gmail.com> * Fix Lilv_INCLUDE_DIRS * Rename vcpkg cache key --------- Co-authored-by: Tres Finocchiaro <tres.finocchiaro@gmail.com>
20 lines
539 B
CMake
20 lines
539 B
CMake
# Copyright (c) 2025 Dalton Messmer <messmer.dalton/at/gmail.com>
|
|
#
|
|
# Redistribution and use is allowed according to the terms of the New BSD license.
|
|
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
|
|
|
|
include(ImportedTargetHelpers)
|
|
|
|
find_package_config_mode_with_fallback(Lilv Lilv::lilv
|
|
LIBRARY_NAMES "lilv" "lilv-0"
|
|
INCLUDE_NAMES "lilv/lilv.h"
|
|
PKG_CONFIG "lilv-0"
|
|
)
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
|
|
find_package_handle_standard_args(Lilv
|
|
REQUIRED_VARS Lilv_LIBRARY Lilv_INCLUDE_DIRS
|
|
VERSION_VAR Lilv_VERSION
|
|
)
|