mirror of
https://github.com/KDE/konsole.git
synced 2025-12-23 23:38:08 -05:00
Drop faux X11 dependency and switch WITHOUT_X11 option to WITH_X11
X11 is nowhere needed in the codebase. Follow-up to 2f116f9fb2438a6e66b6702b3cc2ace9d0205f96 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
committed by
Christoph Cullmann
parent
9ab4a3a4ac
commit
c5f2315c9d
@@ -105,12 +105,7 @@ set_package_properties(KF6DocTools PROPERTIES DESCRIPTION
|
||||
find_package(ICU 61.0 COMPONENTS uc i18n REQUIRED)
|
||||
|
||||
if(UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAIKU)
|
||||
option(WITHOUT_X11 "Build without X11 integration (skips finding X11)" OFF)
|
||||
if(NOT WITHOUT_X11)
|
||||
find_package(X11)
|
||||
set_package_properties(X11 PROPERTIES TYPE OPTIONAL)
|
||||
set(HAVE_X11 ${X11_FOUND})
|
||||
endif()
|
||||
option(WITH_X11 "Build with X11 integration" ON)
|
||||
endif()
|
||||
|
||||
# Check for function GETPWUID
|
||||
|
||||
Reference in New Issue
Block a user