mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-24 07:59:01 +00:00
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:
committed by
Kévin Petit
parent
917aaf9159
commit
0e8f01a2f5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user