Skip to content

Fix execution of unit tests

Florian Uhlig requested to merge f.uhlig/cbmroot:fix_unittests into master

For unclear reason the unit tests were only executed after running cmake once. After rerunning cmake the unit tests were not executed any longer.

CMake will now use the find package command. With a fresh build directory at first run the gtest installation is not yet there such that for this case the needed dependencies and variables are defined manually. The change needs also an update of the used CMake targets and variables. Also some wrong include statements were removed.

Merge request reports

Loading