summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Stewart2012-03-27 08:42:49 -0700
committerMike Stewart2012-03-27 08:42:49 -0700
commitb57ab1493c83596c7237fc818bc2525a19d59286 (patch)
tree8ef9d8db7d6ed784bd332426514caf30c22a3c38
parent92bae9d652a80456a707b5c8ed77235fdef71e08 (diff)
downloaddfhack-b57ab1493c83596c7237fc818bc2525a19d59286.tar.gz
dfhack-b57ab1493c83596c7237fc818bc2525a19d59286.tar.bz2
dfhack-b57ab1493c83596c7237fc818bc2525a19d59286.tar.xz
Look for df-structures instead of protobuf in the submodule check.
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 220a6a22..17423974 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -48,7 +48,7 @@ if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}")
endif()
# make sure all the necessary submodules have been set up
-if (NOT EXISTS ${dfhack_SOURCE_DIR}/depends/protobuf/CMakeLists.txt OR NOT EXISTS ${dfhack_SOURCE_DIR}/depends/clsocket/CMakeLists.txt)
+if (NOT EXISTS ${dfhack_SOURCE_DIR}/library/xml/codegen.pl OR NOT EXISTS ${dfhack_SOURCE_DIR}/depends/clsocket/CMakeLists.txt)
message(FATAL_ERROR "Required submodules could not be found! First run 'git submodule init' and 'git submodule update' from the root DFHack directory. (See the section 'Getting the Code' in Compile.html)")
endif()