[cmake] Copy llvm-driver-template.cpp.in into build dir as well
authorNikita Popov <npopov@redhat.com>
Wed, 21 Dec 2022 10:40:33 +0000 (11:40 +0100)
committerNikita Popov <npopov@redhat.com>
Wed, 21 Dec 2022 10:42:03 +0000 (11:42 +0100)
commit673ce562910a4a7c99ab2fa80ffb6966309a64c0
tree7988e0f05e884cfd072356a99b73343f282b7bc6
parente467a42943825359ac15c786305bcaf6f8ac482f
[cmake] Copy llvm-driver-template.cpp.in into build dir as well

We were copying it into the installed version of the directory,
but not into the one in the build directory. Because of that it
was not directly usable as a cmake module by subprojects that
also use the driver functionality.
llvm/cmake/modules/CMakeLists.txt