added cmake file for tex (should be done better...)

CMakeUserUseLATEX should be used.