adding a flag to skip rust checks
if(NOT FINDCARGO_DOT_CMAKE_INCLUDED)
set(FINDCARGO_DOT_CMAKE_INCLUDED YES)
+if(NOT SKIP_RUST)
include(FindPackageHandleStandardArgs)
find_program(CARGO_EXECUTABLE cargo)
find_package_handle_standard_args(cargo DEFAULT_MSG CARGO_EXECUTABLE)
mark_as_advanced(CARGO_EXECUTABLE)
-
+endif(NOT SKIP_RUST)
endif(NOT FINDCARGO_DOT_CMAKE_INCLUDED)
