preliminary pgmlink.cmake