using  variable in main CMakeLists instead