Put more options into main CMakeLists.txt and reuse them later