comparison cmake/DpkgBuild.cmake @ 0:a4671277546c tip

created the repository for the thymian project
author ferencd
date Tue, 17 Aug 2021 11:19:54 +0200
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:a4671277546c
1 #
2 # DPKG Finder
3 # Authors: Rohit Yadav <rohityadav89@gmail.com>
4 #
5
6 FIND_PROGRAM(DPKG
7 NAMES dpkg-deb
8 PATHS "/usr/bin") #Add paths here
9
10 IF ( DPKG )
11 GET_FILENAME_COMPONENT(DPKG_PATH ${DPKG} ABSOLUTE)
12 MESSAGE(STATUS "Found dpkg-deb : ${DPKG_PATH}")
13 SET(DPKG_FOUND "YES")
14 ELSE ( DPKG )
15 MESSAGE(STATUS "dpkg-deb NOT found. deb generation will not be available")
16 SET(DPKG_FOUND "NO")
17 ENDIF ( DPKG )