I am converting a C++ project created using Visual Studio 2005 to CMake and have stumbled upon a bit of a problem with resource files that are included in the project.
T
Try to set_source_files_properties(your.ico your.rc2 PROPERTIES LANGUAGE RC).
set_source_files_properties(your.ico your.rc2 PROPERTIES LANGUAGE RC)