CMake: Use configure_file() to copy a file
commit809e69f1f574dad3c9b00d4f01b9ef1a492319f3
authorLasse Collin <lasse.collin@tukaani.org>
Tue, 25 Jun 2024 13:11:13 +0000 (25 16:11 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Fri, 6 Sep 2024 16:25:19 +0000 (6 19:25 +0300)
tree84df2db177e367fe35e8e6d74f02b83803176292
parent52a8c87f37f4bd133f670722d2d4b73a74e352bc
CMake: Use configure_file() to copy a file

I had missed this simpler method before. It does create a dependency
so that if .in.h changes the copying is done again.

(cherry picked from commit de215a0517645d16343f3a5336d3df884a4f665f)
CMakeLists.txt