Skip to content

CMake Bug in CMakeLists.txt #437

@x12301450

Description

@x12301450

In CMakeLists.txt, there are three calls of add_string_config, for example:

add_string_config(${SC_CONFIG_GROUP}
                  DEFAULT_SERVICE_MANIFEST_DIR
                  "${SYS_CONFIG_DIR}/service-manifest.default.d/"
                  "${SYS_CONFIG_DIR}/service-manifest.default.d/")

However, variable SYS_CONFIG_DIR is defined with a trailing slash, leading to double slash issue in add_string_config:

SET(SYS_CONFIG_DIR ${CMAKE_INSTALL_FULL_SYSCONFDIR}/softwarecontainer/)

I think this issue will help improve your project!

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