Notice to GitKraken users: A vulnerability has been found in the SSH key generation of GitKraken versions 7.6.0 to 8.0.0 ( If you use GitKraken and have generated a SSH key using one of these versions, please remove it both from your local workstation and from your LRZ GitLab profile.

21.10.2021, 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

Commit 1aa809a1 authored by Artur Grunau's avatar Artur Grunau
Browse files

Better error message when Lua submodule is missing

If CAMPVIS_BUILD_LIB_LUA was set but the Lua Git submodule wasn't checked
out, the user would get a generic "could not find CMakeLists.txt" error
message which wasn't of much help.

Log a custom error message that provides a hint how to fix the problem in
the above situation.

References #1
parent 2a946aa2
......@@ -55,6 +55,11 @@ IF(CAMPVIS_BUILD_LIB_LUA)
SET(LUA_BUILD_WLUA OFF CACHE BOOL "Build wLua interpreter without console output")
# If the above command failed, provide a hint how to fix the problem
MESSAGE(SEND_ERROR "Did you forget to run `git submodule update --init`?")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment