forked from Aorimn/dislocker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The main feature of Dislocker is mounting an encrypted volume using FUSE, but the dislocker-{file,metadata,bek} programs can still be built without FUSE. The current build system is somewhat broken if FUSE can't be found. find_package(FUSE) can fail and configuration will continue anyway, then dislocker-fuse.c is unconditionally compiled which will fail without fuse.h. Add a cmake boolean option WITH_FUSE (defaults to ON) that can be used to turn off FUSE support. Without FUSE, the main dislocker(-fuse) binary is not compiled or installed. When FUSE is ON, the cmake configuration will fail if FUSE cannot be found, rather than passing the buck on to a compiler error.
- Loading branch information
Showing
1 changed file
with
33 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters