Why we create both static and shared type of library?
Signed-off-by: Mikko Johannes Koivunalho <mikko.koivunalho@iki.fi>
configure_file(check.h.in check.h @ONLY)
+# To maintain compatibility with the Autotools installation
+# we specifically create both shared and static libraries
+# as that is what Autotools script has been doing.
+# Normally CMake would create the system's native default library type.
+
add_library(check STATIC ${SOURCES} ${HEADERS})
# We would like to create an OBJECT library but currently they are