[CMake] Issues with finding raptor in the soprano build

Michael Wild themiwi at gmail.com
Wed Nov 16 03:23:52 EST 2011


On 11/16/2011 09:13 AM, Laszlo Papp wrote:
> I mentioned this in my first email:
> 
> I think this is a bit closer to the issue:
> -- [TEST-BEGIN] - FIND_PACKAGE RAPTOR2.0.4
> -- VERSION_VAR  (missing:  REQUIRED_VARS)
> -- [TEST-END] - FIND_PACKAGE RAPTOR2.0.4
> 
> for this debugging lines in the CMakeLists.txt file:
>  message(STATUS "[TEST-BEGIN] - FIND_PACKAGE RAPTOR2.0.4")
>  find_package(Raptor 2.0.4)
>  message(STATUS "[TEST-END] - FIND_PACKAGE RAPTOR2.0.4")
> 
> "find_package(Raptor 2.0.4)" should not generate "-- VERSION_VAR
> (missing:  REQUIRED_VARS)" output.
> 
> It should be like this:
> -- Found Raptor: /usr/lib/libraptor2.so (found suitable version
> "2.0.4", required is "2.0.4")
> 
> Best Regards,
> Laszlo Papp

What version of CMake are you using? The extended signature of
find_package_handle_standard_args() you use in FindRaptor.cmake became
only available in CMake 2.8.4.

HTH

Michael


More information about the CMake mailing list