diff options
author | Brad King <brad.king@kitware.com> | 2014-12-01 15:54:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-12-01 16:05:29 (GMT) |
commit | d051cbda5d9d4456619fac5d49f24c8827228aa9 (patch) | |
tree | 72552d5da1ba00101f476dc4d8ffb576aee7daf2 /Help/release | |
parent | 3350e4d209b6a7ff758ca371af4d62844a66ab36 (diff) | |
download | CMake-d051cbda5d9d4456619fac5d49f24c8827228aa9.zip CMake-d051cbda5d9d4456619fac5d49f24c8827228aa9.tar.gz CMake-d051cbda5d9d4456619fac5d49f24c8827228aa9.tar.bz2 |
FindOpenGL: Drop explicit dependency on X11 (#15268)
In commit 079e8469ab (... OpenGL always needs X11 on Unix, 2002-09-05)
the FindOpenGL module was taught to search for X11 as a dependency of
the OpenGL library. This was done without a detailed explanation, and
the dependency should not be explicitly needed because OpenGL headers
should not expose applications to X11 APIs directly.
Unfortunately the only way to know if anything legitimately depends on
this behavior (perhaps in static library cases) is to simply remove it
and wait for issues to be reported. If so, then we can add some kind of
compatibility setting for this later. Add a release note to draw
attention to this change.
Reported-by: Dainius "GreatEmerald" Masiliƫnas <pastas4@gmail.com>
Diffstat (limited to 'Help/release')
-rw-r--r-- | Help/release/dev/FindOpenGL-no-X11.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Help/release/dev/FindOpenGL-no-X11.rst b/Help/release/dev/FindOpenGL-no-X11.rst new file mode 100644 index 0000000..dacf165 --- /dev/null +++ b/Help/release/dev/FindOpenGL-no-X11.rst @@ -0,0 +1,8 @@ +FindOpenGL-no-X11 +----------------- + +* The :module:`FindOpenGL` module no longer explicitly searches + for any dependency on X11 libraries with the :module:`FindX11` + module. Such dependencies should not need to be explicit. + Applications using X11 APIs themselves should find and link + to X11 libraries explicitly. |