Commit Graph

8 Commits

Author SHA1 Message Date
Zack Galbreath cad4c32d43 Allow gRPC_INSTALL with module providers 2019-12-11 10:16:51 -05:00
Esun Kim 8de389b940 Update by review 2019-11-04 17:05:51 -08:00
Kyle Edwards 6f881ab292 Fix various CMake style issues
Remove some spaces at the end of lines. Change how variables are
referenced inside if() statements. Remove the space between if/endif
and the first parenthesis. Remove the duplicated condition from endif()
blocks. Make indentation more consistent. Remove unneeded duplicate
PRIVATE keywords from target_include_directories(). Remove redundant
set_source_files_properties() call, as the file is already GENERATED.
2019-10-25 11:58:19 -04:00
Jan Tattermusch 6750d42ef1 fine tune cmake find_package usage 2018-02-07 16:20:22 +01:00
Jan Tattermusch 461cf30159
Merge branch 'master' into cmake-export-fix 2018-01-19 08:17:29 +01:00
Jan Tattermusch 586f719898 cleanup cmake include directories 2018-01-16 18:07:46 +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