aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHeiko Thiery <heiko.thiery@gmail.com>2020-04-15 09:14:23 +0200
committerAndreas Schneider <asn@cryptomilk.org>2020-05-06 13:02:32 +0200
commitbee8ed82abbc1ee8c631691a131c3d6ec6ba0836 (patch)
treed7a89a4d6b3c060117411c69653a6b34f5ae2c2b /src
parent4149cebd64a916e934a1485b75f464e26c9bf4ea (diff)
downloadlibssh-bee8ed82abbc1ee8c631691a131c3d6ec6ba0836.tar.gz
libssh-bee8ed82abbc1ee8c631691a131c3d6ec6ba0836.tar.xz
libssh-bee8ed82abbc1ee8c631691a131c3d6ec6ba0836.zip
cmake: Add autogenerated libssh_version.h
Set the cmake project verision to the autogenerated file to have a single point to set the version. This will be included in the libssh.h file. Pair-Programmed-With: Andreas Schneider <asn@cryptomilk.org> Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com> Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index a5129ba4..c6246625 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,6 +1,7 @@
set(LIBSSH_PUBLIC_INCLUDE_DIRS ${libssh_SOURCE_DIR}/include)
set(LIBSSH_PRIVATE_INCLUDE_DIRS
+ ${libssh_BINARY_DIR}/include
${libssh_BINARY_DIR}
)