From dc891ed722a0ee4f85387c5533d6f8d7043a3f39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20M=C3=BCller?= Date: Mon, 21 Dec 2015 21:04:14 +0100 Subject: [PATCH] Update compatibility to the newest version Also adds troubleshooting guide to the documentation. --- README.md | 5 +++++ cmake/comp | 2 +- doc/installation.md | 4 ++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1862ae13..c8c540e2 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,11 @@ It is tested on GCC 4.7-4.9, Clang 3.4-3.5 and Visual Studio 2013. Newer version 4. You need to activate C++11 at your target, if not already done, you can use [foonathan/compatibility] already available through `add_subdirectory()` and call `comp_target_features(your_target PUBLIC CPP11)`. +*Note: If during CMake you see an error message that compatibility is +not on the newest version, run `git submodule update +--recursive --remote` to force the compatiblity submodule of memory to +update to the latest version.* + See http://foonathan.github.io/doc/memory/md_doc_installation.html for a detailed guide. ## Documentation diff --git a/cmake/comp b/cmake/comp index 84e7bd09..92c65148 160000 --- a/cmake/comp +++ b/cmake/comp @@ -1 +1 @@ -Subproject commit 84e7bd09df7fa7218ab809dd94e8307a7da298f2 +Subproject commit 92c65148d2eac1c6142951fc820dc2390e55f07e diff --git a/doc/installation.md b/doc/installation.md index 7ffd45d4..5e98b942 100644 --- a/doc/installation.md +++ b/doc/installation.md @@ -19,6 +19,10 @@ Simply run: If you later want to update your local copy to the latest version, simply run: `git submodule update --recursive --remote`. +*Note: Run this command also if you get an error message during CMake +telling you that a newer version of compatibility is required. This will +update the compatibility submodule to its newest version.* + ## 2. CMake Setup I am assuming that there is a local copy of the library source files under the path `ext/memory`.