title: How to specify the linking type in CMake?
body: <p>In my CMake script I need to specify for different library, that my project is linked against, different types of linking for gcc. It is well-known to use <code>-Wl,-Bstatic</code> and <code>-Wl,-Bdynamic</code> options for such kind of mixing. But is it possible to specify this somehow in cmake script?</p>