summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/find_library_static.md
blob: a1b7fa9341613579215dd4c2bc8d3b543c0a298c (plain)
1
2
3
4
5
6
## Add keyword `static` to `find_library`

`find_library` has learned the `static` keyword. They keyword must be a boolean,
where `true` only searches for static libraries and `false` only searches for
dynamic/shared. Leaving the keyword unset will keep the old behavior of first
searching for dynamic and then falling back to static.