Skip to content

Instantly share code, notes, and snippets.

@tchaikov
Created January 19, 2018 12:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tchaikov/c3f324a7c36fc9774739cea319d5c49b to your computer and use it in GitHub Desktop.
Save tchaikov/c3f324a7c36fc9774739cea319d5c49b to your computer and use it in GitHub Desktop.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index da92ca39bc..4a2679ff0b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,8 @@
-cmake_minimum_required(VERSION 2.8.12)
+cmake_minimum_required(VERSION 3.4)
+
+if(POLICY CMP0025)
+ cmake_policy(SET CMP0046 NEW)
+endif()
project(ceph CXX C ASM)
set(VERSION 13.0.1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment