[CMake] Problems to find xmlrpc_server_abyss++.so on FreeBSD

Renato Botelho rbgarga at gmail.com
Mon Nov 29 18:27:24 EST 2010


On Mon, Nov 29, 2010 at 9:20 PM, Renato Botelho <rbgarga at gmail.com> wrote:
> Hi,
>
> It's the first project i'm migrating from autotools to cmake,
> and it's going really well, in 4 days it's almost done. \o/
>
> The only issue I have now is following, i have this code
> on my CMakeLists.txt:
>
> find_package (XMLRPC REQUIRED abyss-server c++2)

It's always the same, one entire day trying to figure it out and
5 seconds after sending this email i found, i just changed the
order of components (c++2 abyss-server) and it detected my
xmlrpc fine. It's fixed now. The other problem below still persists.

> Ah, since i'm talking about FindXMLRPC, I used REQUIRED
> param, like i showed above, but if it doesn't find xmlrpc
> it shows an error message but don't stop, i needed to add
> this:
>
> if (NOT XMLRPC_FOUND)
>  message (FATAL_ERROR "XMLRPC-C not found")
> endif (NOT XMLRPC_FOUND)
>
> Is it the expected behavior?

It persists

-- 
Renato Botelho


More information about the CMake mailing list