Skip to content

Commit

Permalink
Add versions to link properties in manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
BenFordTytherington committed Oct 18, 2024
1 parent 2aea611 commit 40229d6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion crates/cxx-qt-lib-extras/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ license.workspace = true
description = "Extra Qt types for integrating `cxx-qt` crate with `cxx` that are not available in `cxx-qt-lib`"
repository.workspace = true

links = "cxx-qt-lib-extras"
links = "cxx-qt-lib-extras-0-6-1"

[dependencies]
cxx.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/cxx-qt-lib-extras/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ fn main() {
// Disable exporting the standard include directory, as we are exporting custom headers
.export_include_prefixes([])
.export_include_directory(header_dir(), "cxx-qt-lib-extras")
.reexport_dependency("cxx-qt-lib");
.reexport_dependency("cxx-qt-lib-0-6-1");

let mut builder = CxxQtBuilder::library(interface)
.qt_module("Gui")
Expand Down
2 changes: 1 addition & 1 deletion crates/cxx-qt-lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ exclude = [ "**/generate.sh" ]
# to make sure the build scripts are run in the correct order and the build scripts
# can pass metadata from library to dependent.
# See also: https://doc.rust-lang.org/cargo/reference/build-scripts.html#the-links-manifest-key
links = "cxx-qt-lib"
links = "cxx-qt-lib-0-6-1"

[dependencies]
cxx.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/cxx-qt-lib/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ fn main() {
.initializer("src/core/init.cpp")
.export_include_prefixes([])
.export_include_directory(header_dir(), "cxx-qt-lib")
.reexport_dependency("cxx-qt");
.reexport_dependency("cxx-qt-0-6-1");

if qt_gui_enabled() {
interface = interface
Expand Down
2 changes: 1 addition & 1 deletion crates/cxx-qt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ categories = ["api-bindings", "gui"]
# to make sure the build scripts are run in the correct order and the build scripts
# can pass metadata from library to dependent.
# See also: https://doc.rust-lang.org/cargo/reference/build-scripts.html#the-links-manifest-key
links = "cxx-qt"
links = "cxx-qt-0-6-1"

[dependencies]
cxx.workspace = true
Expand Down

0 comments on commit 40229d6

Please sign in to comment.