Fix typo in option to disable submodule checks

This commit is contained in:
Jason Rhinelander 2020-02-17 20:22:13 -04:00
parent 3f29030d1d
commit ecdc389e1a
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ if(SUBMODULE_CHECK)
if (upToDate)
message(STATUS "Submodule '${relative_path}' is up-to-date")
else()
message(FATAL_ERROR "Submodule '${relative_path}' is not up-to-date. Please update with\ngit submodule update --init --recursive\nor run cmake with -DSUBMODULE_CHECK=1")
message(FATAL_ERROR "Submodule '${relative_path}' is not up-to-date. Please update with\ngit submodule update --init --recursive\nor run cmake with -DSUBMODULE_CHECK=OFF")
endif()
endfunction ()