1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 10:32:48 +02:00

Silence CMP0048 warning in the benchmark utility library

I'm testing this in LLVM before sending it upstream.

Part of PR38874

llvm-svn: 349097
This commit is contained in:
Reid Kleckner 2018-12-14 00:17:12 +00:00
parent 4635e976e8
commit ef5fb71f38

View File

@ -1,5 +1,11 @@
cmake_minimum_required (VERSION 2.8.12)
# Tell cmake 3.0+ that it's safe to clear the PROJECT_VERSION variable in the
# call to project() below.
if(POLICY CMP0048)
cmake_policy(SET CMP0048 NEW)
endif()
project (benchmark)
foreach(p