Skip to content

BUILD_INTERFACE fatal error: 'hiredis/hiredis.h' file not found #1270

@Portgas-D-Asce

Description

@Portgas-D-Asce

a strange thing in

TARGET_INCLUDE_DIRECTORIES(hiredis PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)

in INSTALL_INTERFACE, using #include <hiredis/hiredis.h> is ok

in BUILD_INTERFACE, I have to change it to #include <hiredis.h>

keep them same maybe better

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