add definitions to CMakeLists