mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-27 11:40:07 +00:00
Normalization. Move X11-detecting stuff into kdelibs out of kdegraphics, adjust for style of kdelibs. Put some order in the mess of header and libs checks for X11.
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=594265
This commit is contained in:
parent
80d9cbb9fc
commit
b5ccd28d79
|
@ -1,18 +0,0 @@
|
|||
# cmake macro to test if we have xvidmode extensions - xf86
|
||||
#
|
||||
# XVIDMODEEXTENSIONS_FOUND - system has XVIDMODEEXTENSIONS libs
|
||||
|
||||
FIND_PATH(XVIDMODEEXTENSIONS_INCLUDE_DIR X11/extensions/xf86vmode.h
|
||||
/usr/include
|
||||
/usr/local/include
|
||||
/usr/X11R6/include
|
||||
)
|
||||
|
||||
if (XVIDMODEEXTENSIONS_INCLUDE_DIR)
|
||||
set(XVIDMODEEXTENSIONS_FOUND TRUE)
|
||||
message(STATUS "Found X VidMode extensions: ${XVIDMODEEXTENSIONS_INCLUDE_DIR}")
|
||||
else (XVIDMODEEXTENSIONS_INCLUDE_DIR)
|
||||
set(XVIDMODEEXTENSIONS_FOUND FALSE)
|
||||
message(STATUS "Did not find X VidMode extensions")
|
||||
endif (XVIDMODEEXTENSIONS_INCLUDE_DIR)
|
||||
|
Loading…
Reference in a new issue