CMake: provide --locked --release

This commit is contained in:
nick black 2020-02-20 02:13:17 -05:00
parent 2187aa4d8c
commit bd015434e6
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -590,7 +590,7 @@ if(${USE_RUST})
set(CRATENOTCURSES ${CMAKE_CURRENT_BINARY_DIR}/rust/debug/libnotcurses.rlib)
set(COLLOQUY ${CMAKE_CURRENT_BINARY_DIR}/rust/debug/colloquy)
find_program(CARGO cargo REQUIRED)
set(CARGO_ARGS "--verbose")
set(CARGO_ARGS --verbose --locked --release)
if(NOT ${USE_NETWORK})
set(CARGO_ARGS "${CARGO_ARGS}" --frozen)
endif()