Merge pull request #7580 from adeaarm/cmake_options_warning_fix

Set LANGUAGES explicitly in CMakeLists.txt project()