spajak / cef-pdf

cef-pdf HTML to PDF utility
MIT License
77 stars 33 forks source link

compiling in docker debian:jessie-slim image failing #27

Closed ghost closed 6 years ago

ghost commented 6 years ago

I am trying to compile cef-pdf within a container based on debian jessie. It fails at the configure step:

$ cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCEF_ROOT=/wrk/cef-pdf/cef/cef_binary_3.3359.1774.gd49d25f_linux64_minimal
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler using: Ninja
-- Check for working C compiler using: Ninja -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Ninja
-- Check for working CXX compiler using: Ninja -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Performing Test COMPILER_SUPPORTS_NO_UNUSED_LOCAL_TYPEDEFS
-- Performing Test COMPILER_SUPPORTS_NO_UNUSED_LOCAL_TYPEDEFS - Success
-- Performing Test COMPILER_SUPPORTS_NO_LITERAL_SUFFIX
-- Performing Test COMPILER_SUPPORTS_NO_LITERAL_SUFFIX - Success
-- Performing Test COMPILER_SUPPORTS_NO_NARROWING
-- Performing Test COMPILER_SUPPORTS_NO_NARROWING - Success
CMake Error at src/CMakeLists.txt:14 (list):
  list does not recognize sub-command FILTER

Does CMakeLists.txt need updated for this version of cmake? Or is this another issue?

spajak commented 6 years ago

You need cmake version >= 3.6. Try Debian stretch maybe, this is the latest release