aboutsummaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMatthew Gregan <[email protected]>2020-03-24 13:10:11 +1300
committerMatthew Gregan <[email protected]>2020-03-24 13:10:11 +1300
commit7f94e27fdc2ca31ee469143fd9b8b04b311a62d4 (patch)
treea6fdefd3c8e0eca7b69392d42da5cda62e68a4f7 /CMakeLists.txt
parent3e23b257c11b438e6fbda2acd387eab0debb4f54 (diff)
downloadcubeb-7f94e27fdc2ca31ee469143fd9b8b04b311a62d4.tar.gz
cubeb-7f94e27fdc2ca31ee469143fd9b8b04b311a62d4.zip
Force Rust builds to always rerun cargo.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c885793..5fc134d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -239,6 +239,7 @@ if(USE_PULSE_RUST)
DOWNLOAD_COMMAND ""
CONFIGURE_COMMAND ""
BUILD_COMMAND cargo build COMMAND cargo build --release
+ BUILD_ALWAYS ON
BINARY_DIR "${CMAKE_SOURCE_DIR}/src/cubeb-pulse-rs"
INSTALL_COMMAND ""
LOG_BUILD ON)
@@ -257,6 +258,7 @@ if(USE_AUDIOUNIT_RUST)
DOWNLOAD_COMMAND ""
CONFIGURE_COMMAND ""
BUILD_COMMAND cargo build COMMAND cargo build --release
+ BUILD_ALWAYS ON
BINARY_DIR "${CMAKE_SOURCE_DIR}/src/cubeb-coreaudio-rs"
INSTALL_COMMAND ""
LOG_BUILD ON)