Skip to content

PACKAGE_STRING containing version string 'freedom-metal v0.1.2' seems wrong (cmake/clion) ? #11

@alkavan

Description

@alkavan

So I'm working with CLion and the official Jetbrains plugin.

A new project, when CMake run I got this:

Problems were encountered while collecting compiler information:
	riscv64-unknown-elf-gcc: error: v0.1.2: No such file or directory

Notice it's not talking about the executable (that is in path): v0.1.2: No such file or directory.
So after digging into it, I traced it to CMakeListsPrivate.txt:

add_definitions(-DPACKAGE_STRING=\"freedom-metal v0.1.2\")

Fixed by changing it to:

add_definitions(-DPACKAGE_STRING=\"freedom-metal\")

This how it should be no? The include path is:

include_directories("$ENV{HOME}/.platformio/packages/framework-freedom-e-sdk/freedom-metal")

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