The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=15268 ====================================================================== Reported By: GreatEmerald Assigned To: ====================================================================== Project: CMake Issue ID: 15268 Category: Modules Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2014-11-28 11:19 EST Last Modified: 2014-11-28 11:19 EST ====================================================================== Summary: FindOpenGL.cmake incorrectly depends on X11 on Linux Description: Currently on Linux the FindOpenGL.cmake module includes FindX11.cmake. That is not right, because there is little reason to ever link against X11 explicitly, and the checks will outright fail on Wayland. Furthermore, having FindX11 included adds quite a bit more complexity to builds (takes more time, doesn't work if you don't have a C compiler enabled etc.), and projects can always use find_package(X11) manually if need be.
Additional Information: It seems that the blanket check for X11 was added back in 2002, and didn't change much since: https://github.com/Kitware/CMake/commit/079e8469abd4a2b404fd460ff41012e8d8b6fd1d ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2014-11-28 11:19 GreatEmerald New Issue ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
