Skip to content

minimum required cMake version is 3.19 and not 3.13 #77

Description

@sunavlis

Using the project with cMake 3.16 fails with the error:

CMake Error at build/cppcodec-src/CMakeLists.txt:70 (set_target_properties):
  INTERFACE_LIBRARY targets may only have whitelisted properties.  The
  property "LINKER_LANGUAGE" is not allowed.

The property set on Line 70: set_target_properties(cppcodec PROPERTIES LINKER_LANGUAGE CXX)
works only with cMake version 3.19 or newer.

Is there any option to remove the property? Or should the minimum required cMake version on Line 1 be increased to cmake_minimum_required(VERSION 3.19)?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions