File tree Expand file tree Collapse file tree 3 files changed +481
-380
lines changed Expand file tree Collapse file tree 3 files changed +481
-380
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ if(NOT EXISTS ${FLUTTER_ARTIFACTS_ZIP})
37
37
)
38
38
endif ()
39
39
40
- set (CMAKE_CXX_STANDARD 11 )
40
+ set (CMAKE_CXX_STANDARD 14 )
41
41
42
42
include (FindPkgConfig )
43
43
pkg_check_modules (WAYLANDPP_CLIENT REQUIRED "wayland-client++>=0.2.7" )
@@ -46,6 +46,10 @@ pkg_check_modules(WAYLANDPP_EGL REQUIRED "wayland-egl++>=0.2.7")
46
46
pkg_check_modules (WAYLANDPP_CLIENT_EXTRA REQUIRED "wayland-client-extra++>=0.2.7" )
47
47
pkg_check_modules (EGL REQUIRED egl )
48
48
pkg_check_modules (OPENGL REQUIRED gl )
49
+ pkg_check_modules (XKBCOMMON REQUIRED xkbcommon )
50
+ pkg_check_modules (RAPIDJSON REQUIRED "RapidJSON>=1.1.0" )
51
+
52
+
49
53
50
54
set (FLUTTER_WAYLAND_SRC
51
55
src/utils.cc
@@ -65,6 +69,8 @@ target_link_libraries(flutter_wayland
65
69
${WAYLANDPP_EGL_LIBRARIES}
66
70
${WAYLANDPP_CURSOR_LIBRARIES}
67
71
${WAYLANDPP_CLIENT_EXTRA_LIBRARIES}
72
+ ${XKBCOMMON_LIBRARIES}
73
+ ${RAPIDJSON_LIBRARIES}
68
74
${EGL_LDFLAGS}
69
75
${OPENGL_LDFLAGS}
70
76
)
@@ -75,6 +81,7 @@ target_include_directories(flutter_wayland
75
81
${WAYLANDPP_CURSOR_INCLUDE_DIRS}
76
82
${WAYLANDPP_EGL_INCLUDE_DIRS}
77
83
${WAYLANDPP_CLIENT_EXTRA_INCLUDE_DIRS}
84
+ ${RAPIDJSON_INCLUDE_DIRS}
78
85
${OPENGL_INCLUDE_DIRS}
79
86
${CMAKE_BINARY_DIR}
80
87
)
You can’t perform that action at this time.
0 commit comments