[angle] Fixed build with /permissive- toolchain on Windows and clang on Linux (#5785)

This commit is contained in:
Alexej Harm 2019-03-25 21:35:08 +01:00 committed by Phil Christensen
parent e3737888ad
commit 6798bc3234
2 changed files with 5 additions and 3 deletions

View File

@ -19,9 +19,11 @@ else()
endif()
if(WINDOWS_ANY)
add_compile_options(/d2guard4 /Wv:18 /guard:cf)
add_compile_options(/d2guard4 /Wv:18 /guard:cf /permissive)
else()
add_compile_options(-std=c++17 -fPIC)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
endif()
if (APPLE)

View File

@ -1,5 +1,5 @@
Source: angle
Version: 2019-03-13-c2ee2cc
Version: 2019-03-13-c2ee2cc-1
Description: A conformant OpenGL ES implementation for Windows, Mac and Linux.
The goal of ANGLE is to allow users of multiple operating systems to seamlessly run WebGL and other OpenGL ES content by translating OpenGL ES API calls to one of the hardware-supported APIs available for that platform. ANGLE currently provides translation from OpenGL ES 2.0 and 3.0 to desktop OpenGL, OpenGL ES, Direct3D 9, and Direct3D 11. Support for translation from OpenGL ES to Vulkan is underway, and future plans include compute shader support (ES 3.1) and MacOS support.
Build-Depends: egl-registry