diff options
author | Philipp Storz <philipp.storz@bareos.com> | 2018-01-11 23:45:11 +0300 |
---|---|---|
committer | Philipp Storz <philipp.storz@bareos.com> | 2018-01-11 23:45:11 +0300 |
commit | 4015801c2187c1e785fb953d9c1e6f4719d5d70e (patch) | |
tree | 31f7da8fc25c6ae9e7f93ab7e037fe7a4de6a377 /cmake | |
parent | b581c84eb6a99fbb61f71f198a10d74a5d876a3a (diff) |
use gawk on solaris
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/BareosFindPrograms.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/BareosFindPrograms.cmake b/cmake/BareosFindPrograms.cmake index 543b733e4..b9df88f95 100644 --- a/cmake/BareosFindPrograms.cmake +++ b/cmake/BareosFindPrograms.cmake @@ -20,6 +20,10 @@ # find programs find_program(AWK awk) find_program(GAWK gawk) +IF(HAVE_SUN_OS) + SET(AWK ${GAWK}) +ENDIF() + find_program(PIDOF pidof) IF(NOT ${PIDOF}) SET(PIDOF "") |