summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-12-01 21:01:09 (GMT)
committerBrad King <brad.king@kitware.com>2014-12-01 21:01:09 (GMT)
commit02e34de2b6c27ee5d367be4fa280ffd3ad1965ba (patch)
tree9effffb5f9da4cefbbb0c79cb61a3c6c8af9fe35 /Help
parent433c6d4689ca86f1a8d8d966be0204e98f95b968 (diff)
downloadCMake-02e34de2b6c27ee5d367be4fa280ffd3ad1965ba.zip
CMake-02e34de2b6c27ee5d367be4fa280ffd3ad1965ba.tar.gz
CMake-02e34de2b6c27ee5d367be4fa280ffd3ad1965ba.tar.bz2
FindOpenGL: Revert support for imported targets (#15267)
Revert the feature added by commit v3.1.0-rc1~420^2~2 (FindOpenGL: Provide imported targets for GL and GLU, 2014-05-31). Unfortunately it does not work on Windows because the full path to each library file is not actually known. The IMPORTED_LOCATION of an imported target must be a full path, but OPENGL_gl_LIBRARY is just 'opengl32' on Windows because the actual library file is in some implicit link directory that we may know know. More infrastructure will be needed in CMake to allow a name-only imported library. Until that exists, we will not be able to provide imported targets in FindOpenGL.
Diffstat (limited to 'Help')
-rw-r--r--Help/release/3.1.0.rst3
1 files changed, 0 insertions, 3 deletions
diff --git a/Help/release/3.1.0.rst b/Help/release/3.1.0.rst
index 65aae00..1272d91 100644
--- a/Help/release/3.1.0.rst
+++ b/Help/release/3.1.0.rst
@@ -230,9 +230,6 @@ Modules
* The :module:`FindOpenCL` module was introduced.
-* The :module:`FindOpenGL` module now provides imported targets
- ``OpenGL::GL`` and ``OpenGL::GLU`` when the libraries are found.
-
* The :module:`FindOpenMP` module learned to support Fortran.
* The :module:`FindPkgConfig` module learned to use the ``PKG_CONFIG``