[CMake] Issues with finding raptor in the soprano build

Laszlo Papp lpapp at kde.org
Wed Nov 16 10:28:29 EST 2011


> if(EXISTS ${CMAKE_ROOT}/Modules/Foo.cmake)
>  include(${CMAKE_ROOT}/Modules/Foo.cmake)
> else()
> ...
> endif()

If I have 2.8.2 installed on the host, but my software has 2.8.6
module imported, the version 2.8.2 will be selected. Therefore, it
will "break". I think it needs more restricted check.

Best Regards,
Laszlo Papp


More information about the CMake mailing list