Last Updated: February 25, 2016
·
15.08K
· fanzeyi

Disable CMake auto add `lib` prefix when using `add_library`

Just set this:

SET_TARGET_PROPERTIES(name PROPERTIES PREFIX "")

This is a Hello Coderwall Tip ;)