summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-08-11 09:22:31 +0200
committerMattes D <github@xoft.cz>2015-08-11 09:22:31 +0200
commit6308643669b6fdbffb022367c4a7ab5293d8cac3 (patch)
treec8de29ea3300f2a836e8d18fd8a6e881e8c09198
parentMerge pull request #2424 from cuberite/CompileMSVC2015 (diff)
parentAdded check for JsonCpp submodule presence. (diff)
downloadcuberite-6308643669b6fdbffb022367c4a7ab5293d8cac3.tar
cuberite-6308643669b6fdbffb022367c4a7ab5293d8cac3.tar.gz
cuberite-6308643669b6fdbffb022367c4a7ab5293d8cac3.tar.bz2
cuberite-6308643669b6fdbffb022367c4a7ab5293d8cac3.tar.lz
cuberite-6308643669b6fdbffb022367c4a7ab5293d8cac3.tar.xz
cuberite-6308643669b6fdbffb022367c4a7ab5293d8cac3.tar.zst
cuberite-6308643669b6fdbffb022367c4a7ab5293d8cac3.zip
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a02c9b4fd..c95e10a53 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -164,6 +164,9 @@ endif()
if (NOT EXISTS ${CMAKE_SOURCE_DIR}/lib/libevent/CMakeLists.txt)
message(FATAL_ERROR "LibEvent is missing in folder lib/libevent. Have you initialized and updated the submodules / downloaded the extra libraries?")
endif()
+if (NOT EXISTS ${CMAKE_SOURCE_DIR}/lib/jsoncpp/CMakeLists.txt)
+ message(FATAL_ERROR "JsonCPP is missing in folder lib/jsoncpp. Have you initialized and updated the submodules / downloaded the extra libraries?")
+endif()
# Include all the libraries:
add_subdirectory(lib/jsoncpp/)