PARENT_SCOPE replaced with CACHE to avoid cmake warnings