summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/checks.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/checks.cmake b/cmake/checks.cmake
index 62d52ff..27c073f 100644
--- a/cmake/checks.cmake
+++ b/cmake/checks.cmake
@@ -37,6 +37,8 @@ int main() {
check_prototype_definition("get_current_dir_name" "char *get_current_dir_name(void)" "NULL" "unistd.h" HAVE_GET_CURRENT_DIR_NAME)
+check_symbol_exists("setresuid" "unistd.h" HAVE_SETRESUID)
+check_symbol_exists("setresgid" "unistd.h" HAVE_SETRESGID)
if(NOT DARWIN)
set(RT_LIBRARY "")