Merge pull request #2629 from okuoku/silence-cygwin-warning

Set CMake policy CMP0054 to NEW to silence warning
This commit is contained in:
Greg Fischer 2021-05-03 14:10:53 -06:00 committed by GitHub
commit 186bccdd9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)