Changes needed to build and test projects with new CMake configuration style.
To actually be able to build projects with new configuration style we also need:
See LBCOMP-23 LBCORE-1711