Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake: set cmake policy CMP0060 to NEW
Link libraries by full path even in implicit directories: https://cmake.org/cmake/help/v3.5/policy/CMP0060.html This fixes a linker error with CMake 3.5, which as a result of target_link_libraries(orocos-rtt-${OROCOS_TARGET}_dynamic /full/path/to/liblog4cpp.so) adds -llog4cpp to the linker command line, which results in a linker error: /usr/bin/ld: cannot find -llog4cpp Not sure why the install-space is considered as an implicit link directory by CMake. Signed-off-by: Johannes Meyer <[email protected]>
- Loading branch information