epsonscan2: fix build with CMake 4
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
@@ -105,6 +105,9 @@ stdenv.mkDerivation {
|
||||
# The non-free (Debian) packages uses this directory structure so do the same when compiling
|
||||
# from source so we can easily merge them.
|
||||
"-DCMAKE_INSTALL_LIBDIR=lib/${system}-gnu"
|
||||
# There are many CMakeLists.txt files with various minimum versions. It's much easier to set this
|
||||
# here, instead of substituting those everywhere
|
||||
"-DCMAKE_POLICY_VERSION_MINIMUM=3.10"
|
||||
]
|
||||
++ lib.optionals (!withGui) [
|
||||
"-DNO_GUI=ON"
|
||||
|
||||
Reference in New Issue
Block a user