summaryrefslogtreecommitdiffstats
path: root/contrib/cmake/FindCURLPP.cmake
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2012-11-07 22:20:09 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2012-11-07 22:20:09 (GMT)
commitda08a1d3c3bca8070c9b029cfc1f8faf9e34dd25 (patch)
treeb285148ab6ca415814d9370148f91736f83c852c /contrib/cmake/FindCURLPP.cmake
parent0ae6c27d9322208053033d9b19c0ffffed3d99eb (diff)
downloaduscxml-da08a1d3c3bca8070c9b029cfc1f8faf9e34dd25.zip
uscxml-da08a1d3c3bca8070c9b029cfc1f8faf9e34dd25.tar.gz
uscxml-da08a1d3c3bca8070c9b029cfc1f8faf9e34dd25.tar.bz2
Committing local version again
Diffstat (limited to 'contrib/cmake/FindCURLPP.cmake')
-rw-r--r--contrib/cmake/FindCURLPP.cmake20
1 files changed, 20 insertions, 0 deletions
diff --git a/contrib/cmake/FindCURLPP.cmake b/contrib/cmake/FindCURLPP.cmake
new file mode 100644
index 0000000..853265d
--- /dev/null
+++ b/contrib/cmake/FindCURLPP.cmake
@@ -0,0 +1,20 @@
+FIND_PATH(CURLPP_INCLUDE_DIR curlpp/cURLpp.hpp
+ PATH_SUFFIXES include
+ PATHS
+ /usr/local
+ /usr
+ /sw # Fink
+ /opt/local # DarwinPorts
+ /opt/csw # Blastwave
+ /opt
+ HINTS $ENV{CURLPP_SRC}
+)
+
+FIND_LIBRARY(CURLPP_LIBRARY
+ NAMES curlpp
+ HINTS $ENV{CURLPP_SRC}/.libs/
+)
+
+INCLUDE(FindPackageHandleStandardArgs)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(CURLPP DEFAULT_MSG CURLPP_LIBRARY CURLPP_INCLUDE_DIR)
+MARK_AS_ADVANCED(CURLPP_LIBRARY CURLPP_INCLUDE_DIR)