As adviced by Brad King (CMake maintainer) it's better to use lib/ as folder for package configuration, instead of share/ because it enables arch-specific information to be stored with, as lib/ can be arch specific on linux.