Hi, on my system X11 comes with the X video mode extensions, consisting of a header xf86vmode.h and a library libXxf86vm.so.
Question is: are there (older, proprietary) systems, where this header exists, but there is no libXxf86vm.so ? To check, you can run cmake on the attached CMakeLists.txt. If it says that it found the header, but not the library, please let me know. Thanks Alex
cmake_minimum_required(VERSION 2.8) find_path(X11_xf86vmode_INCLUDE_PATH X11/extensions/xf86vmode.h ) find_library(X11_Xxf86vm_LIB Xxf86vm ) message(STATUS "inc dir: ${X11_xf86vmode_INCLUDE_PATH} lib: ${X11_Xxf86vm_LIB}") if (X11_xf86vmode_INCLUDE_PATH AND NOT X11_Xxf86vm_LIB) message(FATAL_ERROR "Include dir found but no library found !") endif()
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers