CMake 3.31+ have begun emitting warnings when you feed install() paths that are not normalized (ie have, '.' or '..' in them) easiest fix is just not use them. This cleans up the windows sections of the build system, the other platform devs will have to take a look on their respective platforms.