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 ;)
Written by Zeray Rice
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Cmake
Authors
Related Tags
#cmake
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#