• Brad King's avatar
    Do not crash on SHARED library without language (#13324) · 56148fd2
    Brad King authored
    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.
    56148fd2
Name
Last commit
Last update
Docs Loading commit data...
Example Loading commit data...
Modules Loading commit data...
Source Loading commit data...
Templates Loading commit data...
Tests Loading commit data...
Utilities Loading commit data...
.gitattributes Loading commit data...
.hooks-config.bash Loading commit data...
CMakeCPack.cmake Loading commit data...
CMakeCPackOptions.cmake.in Loading commit data...
CMakeGraphVizOptions.cmake Loading commit data...
CMakeLists.txt Loading commit data...
CMakeLogo.gif Loading commit data...
CTestConfig.cmake Loading commit data...
CTestCustom.cmake.in Loading commit data...
CTestCustom.ctest.in Loading commit data...
ChangeLog.manual Loading commit data...
ChangeLog.txt Loading commit data...
CompileFlags.cmake Loading commit data...
Copyright.txt Loading commit data...
DartConfig.cmake Loading commit data...
DartLocal.conf.in Loading commit data...
Readme.txt Loading commit data...
bootstrap Loading commit data...
cmake_uninstall.cmake.in Loading commit data...
configure Loading commit data...
doxygen.config Loading commit data...