Move LibreSSL/ to LIBRESSL_INSTALL_CMAKEDIR.

This allows users to install the CMake configs without forcing a
`LibreSSL` directory after `LIBRESSL_INSTALL_CMAKEDIR`.
This commit is contained in:
Pierre Wendling
2023-08-15 11:08:06 -04:00
parent 3139173568
commit 86a6826fef
4 changed files with 6 additions and 6 deletions

View File

@@ -1025,7 +1025,7 @@ if(ENABLE_LIBRESSL_INSTALL)
EXPORT Crypto-target
FILE "LibreSSL-Crypto.cmake"
NAMESPACE LibreSSL::
DESTINATION "${LIBRESSL_INSTALL_CMAKEDIR}/LibreSSL"
DESTINATION "${LIBRESSL_INSTALL_CMAKEDIR}"
)
endif(ENABLE_LIBRESSL_INSTALL)