Change option var to ENABLE_WAYLAND
This commit is contained in:
parent
75f5a8f6ab
commit
7cc6fb44d9
1 changed files with 2 additions and 2 deletions
|
|
@ -70,8 +70,8 @@ pkg_check_modules(LXC lxc REQUIRED)
|
|||
pkg_check_modules(PROPERTIES_CPP properties-cpp REQUIRED)
|
||||
pkg_check_modules(LIBSYSTEMD libsystemd REQUIRED)
|
||||
|
||||
option(ANBOX_ENABLE_WAYLAND "Enable wayland support" ON)
|
||||
if (ANBOX_ENABLE_WAYLAND)
|
||||
option(ENABLE_WAYLAND "Enable wayland support" ON)
|
||||
if (ENABLE_WAYLAND)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DWAYLAND_SUPPORT")
|
||||
endif()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue