get RESOURCE_BASE_DIR from cmake