16 lines
706 B
Diff
16 lines
706 B
Diff
diff --git a/P0267_RefImpl/P0267_RefImpl/cairo/CMakeLists.txt b/P0267_RefImpl/P0267_RefImpl/cairo/CMakeLists.txt
|
|
index d0e9176..2ac638c 100644
|
|
--- a/P0267_RefImpl/P0267_RefImpl/cairo/CMakeLists.txt
|
|
+++ b/P0267_RefImpl/P0267_RefImpl/cairo/CMakeLists.txt
|
|
@@ -24,7 +24,9 @@ target_include_directories(io2d_cairo PUBLIC
|
|
|
|
target_compile_features(io2d_cairo PUBLIC cxx_std_17)
|
|
|
|
-target_link_libraries(io2d_cairo PUBLIC io2d_core Cairo::Cairo unofficial::graphicsmagick::graphicsmagick)
|
|
+find_package(unofficial-cairo CONFIG REQUIRED)
|
|
+
|
|
+target_link_libraries(io2d_cairo PUBLIC io2d_core unofficial::cairo::cairo unofficial::graphicsmagick::graphicsmagick)
|
|
|
|
install(
|
|
TARGETS io2d_cairo EXPORT io2d_targets
|