1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-08-08 19:02:07 +03:00

cmake: replace libssh2 literals with PROJECT_NAME variable

Where applicable.

This also makes it more obvious which `libssh2` uses were referring
to the project itself.

Closes #1152
This commit is contained in:
Viktor Szakats
2023-08-09 11:23:37 +00:00
parent 42d3bf1348
commit 72fd25958a
2 changed files with 15 additions and 15 deletions

View File

@@ -4,7 +4,7 @@
include("${CMAKE_CURRENT_LIST_DIR}/libssh2-targets.cmake")
# Alias for either shared or static library
add_library(libssh2::libssh2 ALIAS libssh2::@LIB_SELECTED@)
add_library(@PROJECT_NAME@::libssh2 ALIAS @PROJECT_NAME@::@LIB_SELECTED@)
# Compatibility alias
add_library(Libssh2::libssh2 ALIAS libssh2::@LIB_SELECTED@)
add_library(Libssh2::libssh2 ALIAS @PROJECT_NAME@::@LIB_SELECTED@)