Fix typo in option to disable submodule checks

pull/1110/head
Jason Rhinelander 4 years ago
parent 3f29030d1d
commit ecdc389e1a

@ -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 ()

Loading…
Cancel
Save