[cmake] export targets from the binary tree
this allows to import target from the build tree of the project, such that it can be used e.g. by FetchContent module
this allows to import target from the build tree of the project, such that it can be used e.g. by FetchContent module