-
-
Notifications
You must be signed in to change notification settings - Fork 420
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix wxwidgets with gtk3 * delete the linux condition in the on_load part of gdk-pixbuf * add bz version * change the gz version to bz2 version * change the gtk3 packagedeps to glib harfbuzz and cairo * delete packagedeps and add cmake version warning * add gdk-pixbuf shared option * Remove the manual addition of GTK3's includedir * specify the cmake version * change at-spi2-core to linux area * add gtk3 libdir * add gtk_cmake.patch * add link_directories to gtk3_cmake.patch * add libdir to patch * add version range to patches
- Loading branch information
1 parent
cbcad8f
commit 629adaa
Showing
4 changed files
with
96 additions
and
19 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
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
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,38 @@ | ||
diff --git a/build/cmake/modules/FindGTK3.cmake b/build/cmake/modules/FindGTK3.cmake | ||
index d2939a1..b8f5fab 100644 | ||
--- a/build/cmake/modules/FindGTK3.cmake | ||
+++ b/build/cmake/modules/FindGTK3.cmake | ||
@@ -29,7 +29,7 @@ | ||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | ||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
find_package(PkgConfig) | ||
-pkg_check_modules(GTK3 QUIET gtk+-3.0) | ||
+pkg_check_modules(GTK3 REQUIRED IMPORTED_TARGET gtk+-3.0) | ||
set(VERSION_OK TRUE) | ||
if (GTK3_VERSION) | ||
if (GTK3_FIND_VERSION_EXACT) | ||
@@ -45,9 +45,10 @@ endif () | ||
# Check for GDK Wayland support | ||
include(CheckSymbolExists) | ||
set(CMAKE_REQUIRED_INCLUDES ${GTK3_INCLUDE_DIRS}) | ||
+link_directories(${GTK3_LIBRARY_DIRS}) | ||
check_symbol_exists(GDK_WINDOWING_WAYLAND "gdk/gdk.h" wxHAVE_GDK_WAYLAND) | ||
check_symbol_exists(GDK_WINDOWING_X11 "gdk/gdk.h" wxHAVE_GDK_X11) | ||
include(FindPackageHandleStandardArgs) | ||
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(GTK3 DEFAULT_MSG GTK3_INCLUDE_DIRS GTK3_LIBRARIES VERSION_OK) | ||
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(GTK3 DEFAULT_MSG GTK3_INCLUDE_DIRS GTK3_LIBRARY_DIRS GTK3_LIBRARIES VERSION_OK) | ||
|
||
-mark_as_advanced(GTK3_INCLUDE_DIRS GTK3_LIBRARIES) | ||
+mark_as_advanced(GTK3_INCLUDE_DIRS GTK3_LIBRARY_DIRS GTK3_LIBRARIES) | ||
diff --git a/build/cmake/modules/FindWAYLANDEGL.cmake b/build/cmake/modules/FindWAYLANDEGL.cmake | ||
index ad23bf9..8208d19 100644 | ||
--- a/build/cmake/modules/FindWAYLANDEGL.cmake | ||
+++ b/build/cmake/modules/FindWAYLANDEGL.cmake | ||
@@ -14,6 +14,7 @@ if (WAYLANDEGL_VERSION) | ||
endif () | ||
endif () | ||
|
||
+link_directories(${WAYLANDEGL_LIBRARY_DIRS}) | ||
include(FindPackageHandleStandardArgs) | ||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(WAYLANDEGL DEFAULT_MSG WAYLANDEGL_LIBRARIES VERSION_OK) | ||
|
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