From 9d1ea823137fc84aa0f44436be945053bbcde481 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Rombauts?= Date: Tue, 2 Aug 2016 16:24:31 +0200 Subject: [PATCH] Fix #95: rewrite old instruction about adding SQLiteCpp as a CMake subdirectory --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ce9b7dd..272afe7 100644 --- a/README.md +++ b/README.md @@ -91,8 +91,8 @@ To use this wrapper, you need to add the 10 SQLiteC++ source files from the src/ in your project code base, and compile/link against the sqlite library. The easiest way to do this is to add the wrapper as a library. -The proper "CMakeLists.txt" file defining the static library is provided in the src/ subdirectory, -so you simply have to add_directory(SQLiteCpp/src) to you main CMakeLists.txt +The "CMakeLists.txt" file defining the static library is provided in the root directory, +so you simply have to add_subdirectory(SQLiteCpp) to you main CMakeLists.txt and link to the "SQLiteCpp" wrapper library. Thus this SQLiteCpp repository can directly be used as a Git submoldule.