summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-28 20:16:24 +0200
committermadmaxoft <github@xoft.cz>2014-07-28 20:16:24 +0200
commit5fb5f6671f2b138dc56187183f0650b70a4d2eb4 (patch)
tree05c606f1b0c5721a968c2ee9c97405112bf7f5d0 /CMakeLists.txt
parentAdded SQLiteCpp library. (diff)
downloadcuberite-5fb5f6671f2b138dc56187183f0650b70a4d2eb4.tar
cuberite-5fb5f6671f2b138dc56187183f0650b70a4d2eb4.tar.gz
cuberite-5fb5f6671f2b138dc56187183f0650b70a4d2eb4.tar.bz2
cuberite-5fb5f6671f2b138dc56187183f0650b70a4d2eb4.tar.lz
cuberite-5fb5f6671f2b138dc56187183f0650b70a4d2eb4.tar.xz
cuberite-5fb5f6671f2b138dc56187183f0650b70a4d2eb4.tar.zst
cuberite-5fb5f6671f2b138dc56187183f0650b70a4d2eb4.zip
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 478b79047..2b30e1e0b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -72,6 +72,12 @@ add_subdirectory(lib/SQLiteCpp/)
add_subdirectory(lib/expat/)
add_subdirectory(lib/luaexpat/)
+# Add proper include directories so that SQLiteCpp can find SQLite3:
+get_property(SQLITECPP_INCLUDES DIRECTORY "lib/SQLiteCpp/" PROPERTY INCLUDE_DIRECTORIES)
+set(SQLITECPP_INCLUDES "${SQLITECPP_INCLUDES}" "${CMAKE_CURRENT_SOURCE_DIR}/lib/sqlite/")
+message("SQLiteCpp includes: " "${SQLITECPP_INCLUDES}")
+set_property(DIRECTORY lib/SQLiteCpp/ PROPERTY INCLUDE_DIRECTORIES "${SQLITECPP_INCLUDES}")
+
if (WIN32)
add_subdirectory(lib/luaproxy/)
endif()