aboutsummaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMiriam Zimmerman <[email protected]>2024-11-19 18:08:28 -0500
committerMatthew Gregan <[email protected]>2024-11-20 12:15:56 +1300
commit0426c8532a429f4ac58ba3f27ba606d79418350b (patch)
tree16add2ac6dfabd84a070b11eee5351e211df89da /CMakeLists.txt
parent78b2bce70e0d1c21d3c175b72f322c50801b2e94 (diff)
downloadcubeb-0426c8532a429f4ac58ba3f27ba606d79418350b.tar.gz
cubeb-0426c8532a429f4ac58ba3f27ba606d79418350b.zip
Update rust submodules.
Also, use gecko-in-tree feature to break circular dependency.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a5573ab..dd03d04 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -342,7 +342,7 @@ if(USE_PULSE AND USE_PULSE_RUST)
cubeb_pulse_rs
DOWNLOAD_COMMAND ""
CONFIGURE_COMMAND ""
- BUILD_COMMAND cargo build COMMAND cargo build --release
+ BUILD_COMMAND cargo build --features=gecko-in-tree COMMAND cargo build --release --features=gecko-in-tree
BUILD_ALWAYS ON
BINARY_DIR "${PROJECT_SOURCE_DIR}/src/cubeb-pulse-rs"
INSTALL_COMMAND ""
@@ -361,7 +361,7 @@ if(USE_AUDIOUNIT AND USE_AUDIOUNIT_RUST)
cubeb_coreaudio_rs
DOWNLOAD_COMMAND ""
CONFIGURE_COMMAND ""
- BUILD_COMMAND cargo build COMMAND cargo build --release
+ BUILD_COMMAND cargo build --features=gecko-in-tree COMMAND cargo build --release --features=gecko-in-tree
BUILD_ALWAYS ON
BINARY_DIR "${PROJECT_SOURCE_DIR}/src/cubeb-coreaudio-rs"
INSTALL_COMMAND ""