www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: [libssh2] #303: CMake build system can't be used as a subproject

[libssh2] #303: CMake build system can't be used as a subproject

From: libssh2 Trac <trac_at_libssh2.stuge.se>
Date: Thu, 21 May 2015 15:31:59 -0000

#303: CMake build system can't be used as a subproject
-------------------------+--------------------
 Reporter: JasonHaslam | Owner:
     Type: defect | Status: new
 Priority: normal | Milestone:
Component: misc | Version: 1.5.0
 Keywords: | Blocked By:
   Blocks: |
-------------------------+--------------------
 I'm trying to incorporate the new libssh2 cmake build into my own cmake
 build system with the add_subdirectory command. It mostly works except for
 a few places in src/CMakeLists.txt that use CMAKE_SOURCE_DIR. That
 variable points to the top-level project source dir. I'd recommend
 changing them to PROJECT_SOURCE_DIR or libssh2_SOURCE_DIR. When I make
 that change everything works fine for my use case.

-- 
Ticket URL: <https://trac.libssh2.org/ticket/303>
libssh2 <https://trac.libssh2.org/>
C library for writing portable SSH2 clients
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2015-05-21

the libssh2 team