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 -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
