Commit Graph

4 Commits

Author SHA1 Message Date
Jan Tattermusch 7132cd7164 cmake: disable assembly optimizations only when necessary 2018-08-21 18:01:53 +02:00
Jan Tattermusch 6750d42ef1 fine tune cmake find_package usage 2018-02-07 16:20:22 +01:00
Stefan Hacker 471a5dc18b Fix cmake export for grpc
This patch fixes two issues with the targets exported by the
grpc cmake build:

- Install directories are now given relative instead of absolute.
  Previously the exported targets would contain absolute paths to
  their created targets when they should be relative. The actual
  installation location stays the same as cmake automatically
  interprets the paths relative to CMAKE_INSTALL_PREFIX

- ZLIB and OpenSSL are now linked using targets instead of the
  legacy library variables if possible. Using the legacy paths
  produces absolute paths to those dependencies in the export.
  With this change cmake inserts the target names instead.

With these changes no more absolute paths are inserted into the
export allowing the install location to be used as an artifact
that can be moved or transfered to another machine and used there.
2018-01-14 19:30:38 +01:00
Jan Tattermusch f38b1526f8 simplify top level CMakeLists.txt 2017-12-19 14:05:41 -08:00