summaryrefslogtreecommitdiff
path: root/indra/cmake/XmlRpcEpi.cmake
blob: 3a0caa0a069f23fe7a5096235d2d06928525fdf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# -*- cmake -*-
include(Prebuilt)

set(XMLRPCEPI_FIND_QUIETLY ON)
set(XMLRPCEPI_FIND_REQUIRED ON)

if (USESYSTEMLIBS)
  include(FindXmlRpcEpi)
else (USESYSTEMLIBS)
    use_prebuilt_binary(xmlrpc-epi)
    if (WINDOWS)
        set(XMLRPCEPI_LIBRARIES 
            debug xmlrpc-epid
            optimized xmlrpc-epi
        )
    else (WINDOWS)
        set(XMLRPCEPI_LIBRARIES xmlrpc-epi)
    endif (WINDOWS)
    set(XMLRPCEPI_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)
endif (USESYSTEMLIBS)