diff options
author | Walter Gray <wgray@leapmotion.com> | 2016-05-28 01:59:58 -0700 |
---|---|---|
committer | Walter Gray <wgray@leapmotion.com> | 2016-05-28 01:59:58 -0700 |
commit | 457a2975f4bff68412d8f4a57c329a5b54750672 (patch) | |
tree | 4831fb60b213e2b83522d2c35c7fba2d2e9ff585 | |
parent | d13b3d0d96e80638f6b393526182f9268f4b1234 (diff) | |
download | protobuf-457a2975f4bff68412d8f4a57c329a5b54750672.tar.gz protobuf-457a2975f4bff68412d8f4a57c329a5b54750672.tar.bz2 protobuf-457a2975f4bff68412d8f4a57c329a5b54750672.zip |
Remove __PROTOBUF_PACKAGE_PREFIX
-rw-r--r-- | cmake/protobuf-config.cmake.in | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cmake/protobuf-config.cmake.in b/cmake/protobuf-config.cmake.in index 6efb068d..f11796a4 100644 --- a/cmake/protobuf-config.cmake.in +++ b/cmake/protobuf-config.cmake.in @@ -2,12 +2,8 @@ set(PROTOBUF_VERSION "@protobuf_VERSION@") set(PROTOBUF_VERSION_STRING "@protobuf_VERSION_STRING@") -# Current dir -get_filename_component(_PROTOBUF_PACKAGE_PREFIX - "${CMAKE_CURRENT_LIST_FILE}" PATH) - # Imported targets -include("${_PROTOBUF_PACKAGE_PREFIX}/protobuf-targets.cmake") +include("${CMAKE_CURRENT_LIST_DIR}/protobuf-targets.cmake") # Compute the installation prefix relative to this file. get_filename_component(_PROTOBUF_IMPORT_PREFIX |