The expiration time for new job artifacts in CI/CD pipelines is now 30 days (GitLab default). Previously generated artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information:

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