--- a/cmake/SearchForStuff.cmake
+++ b/cmake/SearchForStuff.cmake
@@ -22,2 +22,5 @@
-find_package(plutovg REQUIRED) # v0.0.13 is needed for building plutosvg, but we can support v1.0.0
-find_package(plutosvg 0.0.6 REQUIRED)
+find_package(PkgConfig REQUIRED)
+pkg_check_modules(plutovg REQUIRED IMPORTED_TARGET plutovg)
+alias_library(plutovg::plutovg PkgConfig::plutovg)
+pkg_check_modules(plutosvg REQUIRED IMPORTED_TARGET plutosvg)
+alias_library(plutosvg::plutosvg PkgConfig::plutosvg)
@@ -74 +76,0 @@
-		find_package(PkgConfig REQUIRED)
