aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2014-12-17 10:38:56 +0100
committerAndreas Schneider <asn@cryptomilk.org>2014-12-17 10:38:56 +0100
commitd8e691b58a54ccaadcad11b3b205c77b27b8dbe5 (patch)
treecf489ee76eeb4de31b13392a158b3eac19421ebb /CMakeLists.txt
parent52968b1a11a5e204daa75d1a0b388625b115f847 (diff)
downloadlibssh-d8e691b58a54ccaadcad11b3b205c77b27b8dbe5.tar.gz
libssh-d8e691b58a54ccaadcad11b3b205c77b27b8dbe5.tar.xz
libssh-d8e691b58a54ccaadcad11b3b205c77b27b8dbe5.zip
cmake: Fix config variable names.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 48559f37..d9109df3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -97,8 +97,8 @@ install(
)
# cmake config files
-set(LIBSSH_LIBRARY_NAME @CMAKE_SHARED_LIBRARY_PREFIX@ssh@CMAKE_SHARED_LIBRARY_SUFFIX@)
-set(LIBSSH_THREADS_LIBRARY_NAME @CMAKE_SHARED_LIBRARY_PREFIX@ssh@CMAKE_SHARED_LIBRARY_SUFFIX@)
+set(LIBSSH_LIBRARY_NAME ${CMAKE_SHARED_LIBRARY_PREFIX}ssh${CMAKE_SHARED_LIBRARY_SUFFIX})
+set(LIBSSH_THREADS_LIBRARY_NAME ${CMAKE_SHARED_LIBRARY_PREFIX}ssh${CMAKE_SHARED_LIBRARY_SUFFIX})
configure_file(${PROJECT_NAME}-config.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config.cmake @ONLY)
configure_file(${PROJECT_NAME}-config-version.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config-version.cmake @ONLY)