#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

Reply via email to