Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: third_party/protobuf/cmake/protobuf-config.cmake.in

Issue 2599263002: third_party/protobuf: Update to HEAD (f52e188fe4) (Closed)
Patch Set: Address comments Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Version info variables 1 # User options
2 set(PROTOBUF_VERSION "@protobuf_VERSION@") 2 include("${CMAKE_CURRENT_LIST_DIR}/protobuf-options.cmake")
3 set(PROTOBUF_VERSION_STRING "@protobuf_VERSION_STRING@")
4 3
5 # Current dir 4 # Depend packages
6 get_filename_component(_PROTOBUF_PACKAGE_PREFIX 5 @_protobuf_FIND_ZLIB@
7 "${CMAKE_CURRENT_LIST_FILE}" PATH)
8 6
9 # Imported targets 7 # Imported targets
10 include("${_PROTOBUF_PACKAGE_PREFIX}/protobuf-targets.cmake") 8 include("${CMAKE_CURRENT_LIST_DIR}/protobuf-targets.cmake")
11
12 # Compute the installation prefix relative to this file.
13 get_filename_component(_PROTOBUF_IMPORT_PREFIX
14 "${_PROTOBUF_PACKAGE_PREFIX}" PATH)
15 get_filename_component(_PROTOBUF_IMPORT_PREFIX
16 "${_PROTOBUF_IMPORT_PREFIX}" PATH)
17 get_filename_component(_PROTOBUF_IMPORT_PREFIX
18 "${_PROTOBUF_IMPORT_PREFIX}" PATH)
19 9
20 # CMake FindProtobuf module compatible file 10 # CMake FindProtobuf module compatible file
21 if(NOT DEFINED PROTOBUF_MODULE_COMPATIBLE OR "${PROTOBUF_MODULE_COMPATIBLE}") 11 if(protobuf_MODULE_COMPATIBLE)
22 include("${_PROTOBUF_PACKAGE_PREFIX}/protobuf-module.cmake") 12 include("${CMAKE_CURRENT_LIST_DIR}/protobuf-module.cmake")
23 endif() 13 endif()
24
25 # Cleanup temporary variables.
26 set(_PROTOBUF_PACKAGE_PREFIX)
27 set(_PROTOBUF_IMPORT_PREFIX)
OLDNEW
« no previous file with comments | « third_party/protobuf/cmake/protobuf-config-version.cmake.in ('k') | third_party/protobuf/cmake/protobuf-module.cmake.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698