mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-04 06:00:30 +00:00
CMake: provide --locked --release
This commit is contained in:
parent
2187aa4d8c
commit
bd015434e6
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user