cmake compiles with TMX