diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a134b6a..b5e5786 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,8 @@ cmake_minimum_required(VERSION 2.6 FATAL_ERROR) set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake") -include(cmake/gengetopt.cmake) +include(cmake/find_gengetopt.cmake) +include(cmake/find_libssh.cmake) project(cssh C) @@ -10,6 +11,9 @@ set( CSSH_VERSION 0.0.1 ) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wall -D_XOPEN_SOURCE=700") +set( libssh_FIND_REQUIRED TRUE) +find_libssh( ) + enable_testing( ) add_subdirectory(3rdParty) |