>> find_package(Qt4)
>> if(QT_QTDECLARATIVE_FOUND)
>>  message("found it")
>> endif()
>>
>> find_package(Qt4)
>> if(QT_QTDECLARATIVE_FOUND)
>>  message("found it again")
>> endif()
>
> Result:
> found it
> found it again

I guess this simple example does not represent the issue well since it
is not provide any information about passing values among
CMakeLists.txt files.
Funky thing is that if I put the same conditions for the declarative
after this line:
https://projects.kde.org/projects/playground/games/gluon/repository/revisions/master/entry/core/CMakeLists.txt#L9

It works just fine. However I guess it is because the first occurence
in the build order. Does cmake have some issue about using something
like that more times on this platform ? Could you please investigate ?

Best Regards,
Laszlo Papp
_______________________________________________
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

Reply via email to