mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 01:45:36 -04:00
Check for crypt(3), also on FreeBSD
This commit is contained in:
parent
edb1dbaa6e
commit
c9f4bc0cc8
3 changed files with 24 additions and 9 deletions
|
@ -5,7 +5,7 @@ if( ECM_FOUND )
|
|||
endif()
|
||||
|
||||
find_package( Qt5 COMPONENTS Core Test REQUIRED )
|
||||
find_package( Crypt )
|
||||
find_package( Crypt REQUIRED )
|
||||
|
||||
include_directories( ${PROJECT_BINARY_DIR}/src/libcalamaresui )
|
||||
|
||||
|
|
|
@ -27,7 +27,11 @@
|
|||
#include <QDir>
|
||||
|
||||
#include <random>
|
||||
|
||||
#ifndef NO_CRYPT_H
|
||||
#include <crypt.h>
|
||||
#endif
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
SetPasswordJob::SetPasswordJob( const QString& userName, const QString& newPassword )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue