cl12: GL sharing: Fix WIN compilation and add some clarification. (#333)

* Fix WIN compilation and add some clarification.

* Add CLConform_GL_LIBRARIES_DIR CmakeLists variable for GL support

* GL sharing tests - library names justification

* Fix compilation errors function are overridden in glext.h.

* fix cl12 - Add CLConform_GL_LIBRARIES_DIR CmakeLists variable for GL support
This commit is contained in:
Grzegorz Wawiorko
2019-12-03 10:27:22 +01:00
committed by Kévin Petit
parent 917aaf9159
commit 0e8f01a2f5
4 changed files with 15 additions and 14 deletions

View File

@@ -4,6 +4,11 @@ option(D3D10_IS_SUPPORTED "Run DirectX 10 interop tests" OFF)
option(D3D11_IS_SUPPORTED "Run DirectX 11 interop tests" OFF)
option(GL_IS_SUPPORTED "Run OpenGL interop tests" OFF)
# CLConform_GL_LIBRARIES_DIR - path to OpenGL libraries
if(GL_IS_SUPPORTED AND CLConform_GL_LIBRARIES_DIR)
link_directories(${CLConform_GL_LIBRARIES_DIR})
endif (GL_IS_SUPPORTED AND CLConform_GL_LIBRARIES_DIR)
if(MSVC)
# The CTS will not link on MSVC 32-bit builds. To workaround this, add the
# /LARGEADDRESSAWARE option as a linker flag. This is automatically set for