mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-08-01 11:26:52 +03:00
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>
This commit is contained in:
committed by
Andreas Schneider
parent
4149cebd64
commit
bee8ed82ab
@ -9,6 +9,7 @@ set(TORTURE_LIBRARY torture)
|
||||
include_directories(${OPENSSL_INCLUDE_DIR}
|
||||
${CMOCKA_INCLUDE_DIR}
|
||||
${ZLIB_INCLUDE_DIR}
|
||||
${libssh_BINARY_DIR}/include
|
||||
${libssh_BINARY_DIR}
|
||||
${libssh_SOURCE_DIR}/src
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
|
@ -3,6 +3,7 @@ project(pkd C)
|
||||
if (WITH_SERVER AND UNIX AND NOT WIN32)
|
||||
|
||||
include_directories(${libssh_SOURCE_DIR}/include
|
||||
${libssh_BINARY_DIR}/include
|
||||
${CMOCKA_INCLUDE_DIR}
|
||||
${ZLIB_INCLUDE_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
|
@ -13,6 +13,7 @@ set(LIBSSH_SERVER_TESTS
|
||||
)
|
||||
|
||||
include_directories(${libssh_SOURCE_DIR}/include
|
||||
${libssh_BINARY_DIR}/include
|
||||
${libssh_BINARY_DIR}
|
||||
test_server)
|
||||
|
||||
|
@ -17,6 +17,7 @@ set(LIBSSH_SERVER_TESTS
|
||||
)
|
||||
|
||||
include_directories(${libssh_SOURCE_DIR}/include
|
||||
${libssh_BINARY_DIR}/include
|
||||
${libssh_BINARY_DIR})
|
||||
|
||||
if (ARGP_INCLUDE_DIR)
|
||||
|
Reference in New Issue
Block a user