Commit 4c095985 by okuoku

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.
parent 56b17b2f
...@@ -37,6 +37,9 @@ cmake_minimum_required(VERSION 2.8.12) ...@@ -37,6 +37,9 @@ cmake_minimum_required(VERSION 2.8.12)
if (POLICY CMP0048) if (POLICY CMP0048)
cmake_policy(SET CMP0048 NEW) cmake_policy(SET CMP0048 NEW)
endif() endif()
if(POLICY CMP0054)
cmake_policy(SET CMP0054 NEW)
endif()
project(glslang LANGUAGES CXX) project(glslang LANGUAGES CXX)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment