cmake: fix bug #936: Wrong linking when switching OROCOS_TARGET in orocos_toolchain
authorPeter Soetens <peter@thesourceworks.com>
Mon, 2 Apr 2012 19:28:38 +0000 (21:28 +0200)
committerPeter Soetens <peter@thesourceworks.com>
Mon, 2 Apr 2012 19:28:38 +0000 (21:28 +0200)
commit3c480784a7be6b226116de904da958c1d4533a71
tree69fd6d14b914c26e4c3c3e75b1f7887bd1a83bb1
parent95a88ddfd47e83c3b041e0e492c1abfded2c3741
cmake: fix bug #936: Wrong linking when switching OROCOS_TARGET in orocos_toolchain

The cmake logic did not use OROCOS_TARGET in cached variables. We now detect target switches
and fixup the cmake variables if required.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
config/FindRTTPlugin.cmake
deployment/CMakeLists.txt
reporting/CMakeLists.txt
taskbrowser/CMakeLists.txt