turanszkij / WickedEngine

3D engine with modern graphics
https://wickedengine.net
Other
5.85k stars 618 forks source link

cmake: use copy_directory_if_different if available #899

Closed brakhane closed 4 months ago

brakhane commented 4 months ago

After a discussion with Matteo, we decided it's better to use if_different on CMake 3.26+ and just copy_directory on previous versions. It seems to copy less files each run, so it's good to use it if available.