Skip the BuildOSGeo4W call.  This doesn't work if doing out-of-source
builds.  In any case, it's not clear why the same functionality isn't
already provided with the INSTALL target and a suitably chosen
CMAKE_INSTALL_PREFIX.