add pinhole and slit to cmake list