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

if( TARGET xmlrpc-epi::xmlrpc-epi )
    return()
endif()
create_target( xmlrpc-epi::xmlrpc-epi )

if (USESYSTEMLIBS)
  include(FindXmlRpcEpi)
else (USESYSTEMLIBS)
    use_prebuilt_binary(xmlrpc-epi)
    set_target_libraries(xmlrpc-epi::xmlrpc-epi xmlrpc-epi )
    set_target_include_dirs( xmlrpc-epi::xmlrpc-epi ${LIBS_PREBUILT_DIR}/include)
endif (USESYSTEMLIBS)