useorocos: check USE_OROCOS_RTT to not parse the UseOROCOS-RTT.cmake file twice

Signed-off-by: Johannes Meyer <johannes@intermodalics.eu>
useorocos: compiler flags and linker flags set in UseOROCOS-RTT.cmake have been overridden by orocos_use_package()

* Also add compiler and linker flags in orocos_typekit() (was missing).
* We only use the new USE_OROCOS_CFLAGS_OTHER USE_OROCOS_LDFLAGS_OTHER macros now.

Signed-off-by: Johannes Meyer <johannes@intermodalics.eu>
useorocos: removed link_directories(CMAKE_CURRENT_BINARY_DIR) introduced in eceb1b4941d4acb93b18cd02ff5a4d3f2a99b2dc

Signed-off-by: Johannes Meyer <johannes@intermodalics.eu>
useorocos: auto-linking is done on a per-target level in the orocos macros instead of linking globally in orocos_use_package()

link_libraries() is deprecated in cmake: "Use TARGET_LINK_LIBRARIES unless you have a good reason for every target to link to the same set of libraries."

Signed-off-by: Johannes Meyer <johannes@intermodalics.eu>
Merge branch 'even-more-useorocos-updates' of https://github.com/meyerj/rtt