summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2018-08-13 13:44:20 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-08-13 13:49:30 +0200
commitc7d4286ca1e97beebe67dfb2207f053c4c9daae0 (patch)
tree8163651aeb4d9894b46824a13bd7b036b53f18f6
parent434e2b7212c42b1b8a7ffd97743916b225d565cf (diff)
downloadlibssh-c7d4286ca1e97beebe67dfb2207f053c4c9daae0.tar.gz
libssh-c7d4286ca1e97beebe67dfb2207f053c4c9daae0.tar.xz
libssh-c7d4286ca1e97beebe67dfb2207f053c4c9daae0.zip
cmake: Fix PACKAGE and VERSION in config.h
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit dbce0e522859f6564775a3ba83122b6b2028f0c7)
-rw-r--r--ConfigureChecks.cmake4
-rw-r--r--config.h.cmake4
2 files changed, 4 insertions, 4 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 4f4bcee2..a92dcc5f 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -7,8 +7,8 @@ include(CheckTypeSize)
include(CheckCXXSourceCompiles)
include(TestBigEndian)
-set(PACKAGE ${APPLICATION_NAME})
-set(VERSION ${APPLICATION_VERSION})
+set(PACKAGE ${PROJECT_NAME})
+set(VERSION ${PROJECT_VERSION})
set(DATADIR ${DATA_INSTALL_DIR})
set(LIBDIR ${LIB_INSTALL_DIR})
set(PLUGINDIR "${PLUGIN_INSTALL_DIR}-${LIBRARY_SOVERSION}")
diff --git a/config.h.cmake b/config.h.cmake
index edf5be21..8c469b6c 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -1,8 +1,8 @@
/* Name of package */
-#cmakedefine PACKAGE "${APPLICATION_NAME}"
+#cmakedefine PACKAGE "${PROJECT_NAME}"
/* Version number of package */
-#cmakedefine VERSION "${APPLICATION_VERSION}"
+#cmakedefine VERSION "${PROJECT_VERSION}"
#cmakedefine LOCALEDIR "${LOCALE_INSTALL_DIR}"
#cmakedefine DATADIR "${DATADIR}"