summaryrefslogtreecommitdiff
path: root/indra/cmake/XmlRpcEpi.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/XmlRpcEpi.cmake')
-rw-r--r--indra/cmake/XmlRpcEpi.cmake15
1 files changed, 15 insertions, 0 deletions
diff --git a/indra/cmake/XmlRpcEpi.cmake b/indra/cmake/XmlRpcEpi.cmake
new file mode 100644
index 0000000000..3fd6f80eb9
--- /dev/null
+++ b/indra/cmake/XmlRpcEpi.cmake
@@ -0,0 +1,15 @@
+# -*- cmake -*-
+
+set(XMLRPCEPI_FIND_QUIETLY ON)
+set(XMLRPCEPI_FIND_REQUIRED ON)
+
+if (STANDALONE)
+ include(FindXmlRpcEpi)
+else (STANDALONE)
+ if (WINDOWS)
+ set(XMLRPCEPI_LIBRARIES xmlrpcepi)
+ else (WINDOWS)
+ set(XMLRPCEPI_LIBRARIES xmlrpc-epi)
+ endif (WINDOWS)
+ set(XMLRPCEPI_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)
+endif (STANDALONE)