Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix problem with Googletest's LIBRARY_OUTPUT_DIRECTORY (#1135)
The horribly maintained CMake files which are shipped with Googletest override the library output directory to ${CMAKE_BINARY_DIR}/lib, which points to the top-level build directory (it should have been CMAKE_CURRENT_BINARY_DIR). Unfortunately, that directory is used by setuptools as staging area for Python modules, and setup.py install will happily install everything it finds in the lib/ folder, including the libgtest.so binary. Among others, this has bitten PR2/pr2_mechanism#343 and ros/geometry#223 This PR fixes the output location to something sane(ish).
- Loading branch information