diff options
author | Matthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de> | 2011-02-21 15:06:42 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de> | 2011-02-21 15:06:42 +0100 |
commit | 28619821bc90ed4c15844b2e6b6a5a2971ef5f2e (patch) | |
tree | c313b5b77087c18027d152c4c69c49b8ea0254d9 /cmake/FindPCO.cmake | |
download | libuca-28619821bc90ed4c15844b2e6b6a5a2971ef5f2e.tar.gz libuca-28619821bc90ed4c15844b2e6b6a5a2971ef5f2e.tar.bz2 libuca-28619821bc90ed4c15844b2e6b6a5a2971ef5f2e.tar.xz libuca-28619821bc90ed4c15844b2e6b6a5a2971ef5f2e.zip |
Initial commit
Diffstat (limited to 'cmake/FindPCO.cmake')
-rw-r--r-- | cmake/FindPCO.cmake | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/cmake/FindPCO.cmake b/cmake/FindPCO.cmake new file mode 100644 index 0000000..86bbe9a --- /dev/null +++ b/cmake/FindPCO.cmake @@ -0,0 +1,19 @@ +# Try to find libpco.so +# +# Defines +# +# PCO_FOUND - system has libpco +# PCO_INCLUDE_DIRS - libpco include directory +# PCO_LIBRARIES - pco library + +find_package(PackageHandleStandardArgs) + +find_path(PCO_INCLUDE_DIRS libpco/libpco.h) +find_library(PCO_LIBRARIES pco) + +find_package_handle_standard_args(PCO DEFAULT_MSG PCO_LIBRARIES PCO_INCLUDE_DIRS) + +mark_as_advanced( + PCO_INCLUDE_DIRS + PCO_LIBRARIES +) |