CMake: Consistently use imported targets for third party dependencies

This commit is contained in:
Andrew Kaster
2024-06-24 13:08:41 -06:00
committed by Tim Flynn
parent 0879489084
commit a587eafbf4
6 changed files with 15 additions and 36 deletions

View File

@@ -1,11 +0,0 @@
find_package(PkgConfig)
pkg_check_modules(WOFF2 REQUIRED IMPORTED_TARGET libwoff2dec)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(
WOFF2
REQUIRED_VARS
WOFF2_INCLUDE_DIRS
WOFF2_LIBRARY_DIRS
WOFF2_LIBRARIES
)