commit | d70e0af3869495867481de139de5dab3fd16988c | [log] [tgz] |
---|---|---|
author | Harry Mallon <hjmallon@gmail.com> | Mon Oct 16 11:55:34 2017 +0100 |
committer | Paul Wankadia <junyer@google.com> | Tue Oct 17 05:37:10 2017 +0000 |
tree | a2c86e619966f8cae0c1d61ea1190c431537b369 | |
parent | 70f66454c255080a54a8da806c52d1f618707f8a [diff] |
Avoid warning in CMake when using re2 as a subproject Change-Id: Iebd37f2367a29db386a20a7686b93c54c3b2c7cd Reviewed-on: https://code-review.googlesource.com/18071 Reviewed-by: Paul Wankadia <junyer@google.com>
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3e22472..884873b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -5,6 +5,10 @@ # Old enough to support Ubuntu Trusty. cmake_minimum_required(VERSION 2.8.12) +if(POLICY CMP0048) + cmake_policy(SET CMP0048 NEW) +endif() + project(RE2 CXX) include(CTest)