Skip to content

cmake: fix not including BareosTargetTools in systemtests, needed for get_target_output_dir#2232

Merged
BareosBot merged 2 commits intobareos:masterfrom
rainerjung:cmake-include-BareosTargetTools
Mar 31, 2025
Merged

cmake: fix not including BareosTargetTools in systemtests, needed for get_target_output_dir#2232
BareosBot merged 2 commits intobareos:masterfrom
rainerjung:cmake-include-BareosTargetTools

Conversation

@rainerjung
Copy link
Contributor

@rainerjung rainerjung commented Mar 28, 2025

in systemtests/cmake/BareosSystemtestFunctions.cmake.

Only needed if GTest is not available, otherwise provided via core/src/tests/CMakeLists.txt.

Also needed for branch bareos-24.

Fixes #2231

Trivial change, no need to mention me in AUTHORS.

Thank you for contributing to the Bareos Project!

Please check

  • Short description and the purpose of this PR is present above this paragraph
    Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

Make sure you check/merge the PR using devtools/pr-tool to have some simple automated checks run and a proper changelog record added.

General
  • Is the PR title usable as CHANGELOG entry?
  • Purpose of the PR is understood
  • Commit descriptions are understandable and well formatted
  • Required backport PRs have been created
  • Correct milestone is set
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR

@sebsura sebsura added this to the 25.0.0 milestone Mar 31, 2025
@sebsura sebsura changed the title Include BareosTargetTools, needed for get_target_output_dir cmake: fix not including BareosTargetTools in systemtests, needed for get_target_output_dir Mar 31, 2025
@sebsura sebsura self-assigned this Mar 31, 2025
@sebsura sebsura added bug This addresses a bug requires backport to 24 labels Mar 31, 2025
@sebsura
Copy link
Contributor

sebsura commented Mar 31, 2025

Thanks for your work!

@sebsura sebsura force-pushed the cmake-include-BareosTargetTools branch 2 times, most recently from f0678f1 to 34fb716 Compare March 31, 2025 08:59
systemtests need it for get_target_output_dir
in systemtests/cmake/BareosSystemtestFunctions.cmake.

Only needed if GTest is not available, otherwise provided
via core/src/tests/CMakeLists.txt.

Also needed for branch bareoos-24.

Fixes bareos#2231
@sebsura sebsura force-pushed the cmake-include-BareosTargetTools branch from 34fb716 to f6a68f9 Compare March 31, 2025 08:59
@BareosBot BareosBot merged commit 4661242 into bareos:master Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug This addresses a bug requires backport to 24

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unknown CMake command "get_target_output_dir" in BareosSystemtestFunctions.cmake line 122

3 participants