diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2009-08-17 17:32:08 -0300 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2009-08-17 17:32:08 -0300 |
commit | 9732e0c744e45a67094fc6ce08bdadb1f9a08d4a (patch) | |
tree | 566e389f406515b040317bffa075f4e5021020f7 /FindApiExtractor.cmake.in |
The genesis...
Diffstat (limited to 'FindApiExtractor.cmake.in')
-rw-r--r-- | FindApiExtractor.cmake.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/FindApiExtractor.cmake.in b/FindApiExtractor.cmake.in new file mode 100644 index 000000000..addbca36d --- /dev/null +++ b/FindApiExtractor.cmake.in @@ -0,0 +1,15 @@ +# - try to find APIEXTRACTOR +# APIEXTRACTOR_INCLUDE_DIR - Directories to include to use APIEXTRACTOR +# APIEXTRACTOR_LIBRARIES - Files to link against to use APIEXTRACTOR +# APIEXTRACTOR_FOUND - APIEXTRACTOR was found + +FIND_PATH(APIEXTRACTOR_INCLUDE_DIR apiextractor.h @CMAKE_INSTALL_PREFIX@/include/apiextractor) + +FIND_LIBRARY(APIEXTRACTOR_LIBRARY apiextractor @CMAKE_INSTALL_PREFIX@/lib) + +SET(APIEXTRACTOR_FOUND "NO") +IF(APIEXTRACTOR_LIBRARY AND APIEXTRACTOR_INCLUDE_DIR) + SET(APIEXTRACTOR_FOUND "YES") +ENDIF(APIEXTRACTOR_LIBRARY AND APIEXTRACTOR_INCLUDE_DIR) + + |