mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
Make sure we find X11 libraries.
Both Konqueror and the folderview applet use X11 functions directly so we need to make sure CMake is finding it. Right now, this works because Qt4ConfigDependentSettings.cmake that is distributed with KDE does an indirect find_package. The one in upstream CMake does not, so it's a ticking time bomb and depends on installation configuration.
This commit is contained in:
parent
342e894932
commit
81f7f6ac23
2 changed files with 3 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
|
||||
add_definitions(-D_LARGEFILE64_SOURCE )
|
||||
|
||||
find_package(X11 REQUIRED) # both subdirs require the X11 libs
|
||||
add_subdirectory( src )
|
||||
add_subdirectory( client )
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
project(plasma-folderview)
|
||||
|
||||
find_package(X11 REQUIRED)
|
||||
|
||||
set(folderview_SRCS
|
||||
folderview.cpp
|
||||
abstractitemview.cpp
|
||||
|
|
Loading…
Reference in a new issue