--- SuperLU_5.2.1/TESTING/MATGEN/CMakeLists.txt.orig 2015-12-04 02:06:38.000000000 +0100 +++ SuperLU_5.2.1/TESTING/MATGEN/CMakeLists.txt 2016-03-16 17:43:13.950101349 +0100 @@ -104,4 +104,4 @@ ) endif() -add_library(matgen ${sources}) +add_library(matgen STATIC ${sources})