Adds option to disable CMake package exporting.