Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion gen/generator.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ options = load_options(joinpath(@__DIR__, "generator.toml"))
args = get_default_args()
push!(args, "-I$include_dir")
# XXX: this is a hack but necessary in order to avoid an error about the QkGate
# enum being defined as two different things.
# enum being defined as two different things. See upstream PR at
# https://github.com/mozilla/cbindgen/pull/1156
push!(args, "-D__cplusplus")

headers = [joinpath(include_dir, "qiskit.h")]
Expand Down