Skip to content

Commit

Permalink
D-Bus / sdbus-c++: cmake flag was changed
Browse files Browse the repository at this point in the history
The helper build script that compiles the sdbus-c++-xml2cpp compiler
is based on git-cloning the latest master branch, instead of locking
it into a specific version.  An incompatible change was introduced
there, for the name of the CMAKE flag that is used to cause the
code-generator binary to be built.  Renaming the flag in our script
makes the build work again.

(It was, and still is, *NOT* caught by regression testing, since this is
a small and complementary helper, and not really part of the core
delivered tools, so not a big issue.)

Signed-off-by: Gunnar Andersson <[email protected]>
  • Loading branch information
gunnar-mb committed Jul 16, 2024
1 parent 963bea4 commit be3e03d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/sdbus-c++-xml2cpp/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ cd sdbus-cpp
rm -rf build
mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_CODE_GEN=True
cmake .. -DCMAKE_BUILD_TYPE=Release -DSDBUSCPP_BUILD_CODEGEN=ON
cmake --build .
tools/sdbus-c++-xml2cpp -h

0 comments on commit be3e03d

Please sign in to comment.