mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-27 19:50:27 +00:00
19 lines
588 B
CMake
19 lines
588 B
CMake
# 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)
|
|
|