Skip to content

cmake error - list does not recognize sub-command PREPEND #11141

@Keitagit-kun

Description

@Keitagit-kun

8.1.0 introdused new problem in cmake - at configure i get:

CMake Error at CMakeLists.txt:528 (list):
  list does not recognize sub-command PREPEND

culprit is list(PREPEND CURL_LIBS ${BROTLI_LIBRARIES}) line added in cmake: picky-linker fixes for openssl, ZLIB, H3 and more #10857
it not supported in cmake up to 3.10.1 and 3.12.4 (max I can use) while declared version is 3.7:
cmake_minimum_required(VERSION 3.7...3.16 FATAL_ERROR)
(my C compiler identification is GNU 7.2.0)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions