File: CMakeLists.txt

package info (click to toggle)
netkit-rsh 0.17-20
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 824 kB
  • sloc: ansic: 3,825; makefile: 137; perl: 136; sh: 29
file content (20 lines) | stat: -rw-r--r-- 490 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
cmake_minimum_required(VERSION 3.7)
project(netkit-rsh)

set(BIN_DIR "${CMAKE_INSTALL_PREFIX}/bin")
set(SBIN_DIR "${CMAKE_INSTALL_PREFIX}/sbin")
set(MAN_DIR "${CMAKE_INSTALL_PREFIX}/share/man")

set(USE_GLIBC 1)

find_library(USE_CRYPT crypt REQUIRED)
find_library(USE_PAM pam)
find_library(USE_TERMCAP lncurses REQUIRED)

add_subdirectory(rcp)
add_subdirectory(rexec)
add_subdirectory(rexecd)
add_subdirectory(rlogin)
add_subdirectory(rlogind)
add_subdirectory(rsh)
add_subdirectory(rshd)