-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Same as #4 that was closed I would like to be able to optionally specify a minimum version:
preference: minver 3.15
- Check system cmake >= 3.15 great move on
- Version available from cmake grab latest (or anything >= the minimum) if not available install from source
- Download and build cmake grab latest (or anything >= the minimum)
reason:
IO::Compress::Brotli builds the Brotli library from source and requires cmake >= 3.15. Defaulting to the system version means that the version is of no use in this particular case.
http://www.cpantesters.org/cpan/report/a8d97b88-7695-11ee-a10d-0a0a6e8775ea
Output from '/usr/bin/make':
cp lib/IO/Uncompress/Brotli.pm blib/lib/IO/Uncompress/Brotli.pm
cp lib/IO/Compress/Brotli.pm blib/lib/IO/Compress/Brotli.pm
cd brotli && "/usr/local/bin/cmake" -DCMAKE_MAKE_PROGRAM=make -DBUILD_SHARED_LIBS=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=./installed . && make
CMake Error at CMakeLists.txt:4 (cmake_minimum_required):
CMake 3.15 or higher is required. You are running version 3.1.3
-- Configuring incomplete, errors occurred!
*** [brotli/libbrotlienc.a] Error code 1
Metadata
Metadata
Assignees
Labels
No labels