-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[io2d]Fix linux build: add dependency cairo[x11]. (#8251)
- Loading branch information
Showing
3 changed files
with
27 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Source: io2d | ||
Version: 2019-07-11 | ||
Version: 2019-07-11-1 | ||
Description: a lightweight, cross platform drawing library | ||
Build-Depends: cairo (!osx), graphicsmagick (!osx) | ||
Build-Depends: cairo (!osx), cairo[x11] (linux), graphicsmagick (!osx) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/P0267_RefImpl/P0267_RefImpl/cairo/CMakeLists.txt b/P0267_RefImpl/P0267_RefImpl/cairo/CMakeLists.txt | ||
index 5ebeb6a..d0e9176 100644 | ||
--- a/P0267_RefImpl/P0267_RefImpl/cairo/CMakeLists.txt | ||
+++ b/P0267_RefImpl/P0267_RefImpl/cairo/CMakeLists.txt | ||
@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.8) | ||
project(io2d CXX) | ||
|
||
find_package(Cairo REQUIRED) | ||
-find_package(GraphicsMagick REQUIRED) | ||
+find_package(unofficial-graphicsmagick REQUIRED) | ||
|
||
add_library(io2d_cairo | ||
cairo_renderer-graphicsmagickinit.cpp | ||
@@ -24,7 +24,7 @@ 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 GraphicsMagick::GraphicsMagick) | ||
+target_link_libraries(io2d_cairo PUBLIC io2d_core Cairo::Cairo unofficial::graphicsmagick::graphicsmagick) | ||
|
||
install( | ||
TARGETS io2d_cairo EXPORT io2d_targets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters