I'm trying to build a static binary with CMake. 

I've looked around and found a number of non descriptive solutions(e.g add the linker flag "-static"), but I'm not sure how to test them.

How do I know if a certain library (e.g Threading) has been statically built into my binary?