Use LINK_LIBRARIES instead of setting CMAKE build variable.
The latter might be used by the TDAQ build system.
Please merge this for nightly, the old solution was from the early CMT to CMake transition days.
The latter might be used by the TDAQ build system.
Please merge this for nightly, the old solution was from the early CMT to CMake transition days.