about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonathan Cohen <cohenjon@google.com>2017-11-02T20·01-0400
committerGitHub <noreply@github.com>2017-11-02T20·01-0400
commit42a5f28b30247d89bbf02ddaacd9b277ded9fe1f (patch)
tree81e2f889364807023015e56812eebe8b9c007e15
parenta3322e3bfc96f33d3e195fd38a7c09f263e7e75f (diff)
Update README.md
-rw-r--r--CMake/README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMake/README.md b/CMake/README.md
index ea56b6dac522..21633f14d517 100644
--- a/CMake/README.md
+++ b/CMake/README.md
@@ -38,8 +38,11 @@
       Here is a short CMakeLists.txt example of a possible project file
       using abseil
 
+      cmake_minimum_required(VERSION 2.8.12)
       project(my_project)
 
+      set(CMAKE_CXX_FLAGS "-std=c++11 -stdlib=libc++ ${CMAKE_CXX_FLAGS}")
+
       add_subdirectory(googletest)
       add_subdirectory(cctz)
       add_subdirectory(abseil-cpp)
@@ -48,6 +51,8 @@
       target_link_libraries(my_exe absl::base absl::synchronization absl::strings)
 
 
+You will need to create your own CMake files for cctz until https://github.com/google/cctz/pull/54 lands.  As of this writing, that pull request requires -DBUILD_TESTING=OFF as it doesn't correctly export cctz's dependency on Google Benchmark.
+    
     You will find here a non exhaustive list of absl public targets
 
       absl::base