aboutsummaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorDaniel Thornburgh <dthorn@google.com>2022-04-25 20:52:43 +0000
committerBoringssl LUCI CQ <boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-04-26 16:13:27 +0000
commit48f794765b0df3310649e6a6c6f71c5cd845f445 (patch)
tree0131bb89981495ef429320fbdd5a10dcd09f0cf8 /tool
parent15302de8952945988c12df44382417494a37c484 (diff)
downloadboringssl-48f794765b0df3310649e6a6c6f71c5cd845f445.zip
boringssl-48f794765b0df3310649e6a6c6f71c5cd845f445.tar.gz
boringssl-48f794765b0df3310649e6a6c6f71c5cd845f445.tar.bz2
Fix build for older CMake versions.
CMake versions newer than ~3.1x automatically determine the subdirectory under CMAKE_INSTALL_PREFIX using the type of the installed target. Older versions need this to be manually computed using the GNUInstallDirs library. Since we override the CMAKE_INSTALL_PREFIX default, this just controls the internal layout of the install/ directory generated underneath the boringssl checkout. Bug: 488 Change-Id: I97b02006301e463bb0cfd54acb2b27656484cc85 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/52345 Reviewed-by: Adam Langley <agl@google.com> Reviewed-by: David Benjamin <davidben@google.com> Commit-Queue: David Benjamin <davidben@google.com>
Diffstat (limited to 'tool')
-rw-r--r--tool/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/CMakeLists.txt b/tool/CMakeLists.txt
index e695f56..f98e96e 100644
--- a/tool/CMakeLists.txt
+++ b/tool/CMakeLists.txt
@@ -21,7 +21,7 @@ add_executable(
tool.cc
transport_common.cc
)
-install(TARGETS bssl)
+install(TARGETS bssl DESTINATION ${CMAKE_INSTALL_BINDIR})
add_dependencies(bssl global_target)