konoha-project/minikonoha — pull request #253 by wakamori (2012-11-05 03:25:40+00:00)
Title: add FIND_PACKAGE_EXTRA_LIBRARY macro

* Show warnings when package building is disabled
* Add FIND_PACKAGE_EXTRA_LIBRARY macro

# USAGE
## before
```
find_library(HAVE_XXX NAMES XXX)
if(HAVE_XXX)
set(PACKAGE_EXTRA_LIBRARY ${HAVE_XXX})
...
endif(HAVE_XXX)
```
## after
```
FIND_PACKAGE_EXTRA_LIBRARY(XXX)
...
```