mirror of
https://github.com/RPCS3/glslang.git
synced 2025-02-19 18:31:11 +00:00
Set CMake policy CMP0054 to NEW to silence warning
CMAKE_SYSTEM_NAME variable might evaluate to existing variable such as CYGWIN. This setting also matches with SPIRV-Tools.
This commit is contained in:
parent
56b17b2f2d
commit
4c09598526
@ -37,6 +37,9 @@ cmake_minimum_required(VERSION 2.8.12)
|
||||
if (POLICY CMP0048)
|
||||
cmake_policy(SET CMP0048 NEW)
|
||||
endif()
|
||||
if(POLICY CMP0054)
|
||||
cmake_policy(SET CMP0054 NEW)
|
||||
endif()
|
||||
|
||||
project(glslang LANGUAGES CXX)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user