bareos: master ebb1f1ee

Author Committer Branch Timestamp Parent
arogge Bareos Bot master 2024-09-23 15:24 master 644c470d Pending
Changeset cmake: nicer integration of xxHash

After carefully re-reviewing xxHash's CMakeLists.txt we can use it.
The offending parts were:
* setting policies
  * these are always set in the CMake versions we require
* overriding CMAKE_BUILD_TYPE
  * mitigated by reordering the includes in our CMakeLists.txt
* overriding BUILD_SHARED_LIBS
  * has no (global) effect

The remaining custom code detects if dispatching is possible and sets
the flag accordingly.
mod - CMakeLists.txt Diff File
mod - cmake/BareosCpmPackages.cmake Diff File
rm - cmake/xxHash.cmake Diff File