CMake/Tests/RunCMake/Languages
Brad King 56148fd2bc Do not crash on SHARED library without language (#13324)
Since commit e1409ac5 (Support building shared libraries or modules
without soname, 2012-04-22) CMake crashes on the code

 add_library(foo SHARED foo.nolang)

because the logic to lookup the language's soname flag was moved from
cmTarget::GetLibraryNames to cmMakefile::GetSONameFlag without its check
for a NULL language.  Restore the check for NULL.

Add RunCMake.Languages test to cover language error cases like this one.
2012-06-20 11:26:05 -04:00
..
CMakeLists.txt Do not crash on SHARED library without language (#13324) 2012-06-20 11:26:05 -04:00
foo.nolang Do not crash on SHARED library without language (#13324) 2012-06-20 11:26:05 -04:00
NoLangSHARED-result.txt Do not crash on SHARED library without language (#13324) 2012-06-20 11:26:05 -04:00
NoLangSHARED-stderr.txt Do not crash on SHARED library without language (#13324) 2012-06-20 11:26:05 -04:00
NoLangSHARED.cmake Do not crash on SHARED library without language (#13324) 2012-06-20 11:26:05 -04:00
RunCMakeTest.cmake Do not crash on SHARED library without language (#13324) 2012-06-20 11:26:05 -04:00