Skip to content

Commit

Permalink
CMake: Move FindPackage(WaylandProtocols) to root
Browse files Browse the repository at this point in the history
Mark it as required as well.
  • Loading branch information
Cloudef committed Oct 26, 2016
1 parent be541cf commit 51e7e15
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ find_package(Pixman REQUIRED)
find_package(XKBCommon REQUIRED)
find_package(Udev REQUIRED)
find_package(LibInput REQUIRED)
find_package(WaylandProtocols REQUIRED)

if (WLC_X11_SUPPORT)
find_package(X11 REQUIRED COMPONENTS X11-xcb Xfixes)
Expand Down
1 change: 0 additions & 1 deletion protos/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include(Wayland)
find_package(WaylandProtocols)

if (WLPROTO_FOUND AND NOT SOURCE_WLPROTO)
set(prefix "${WLPROTO_PATH}")
Expand Down

0 comments on commit 51e7e15

Please sign in to comment.