Skip to content

"jansson_config.h" missing and cannot include the library in cmakelist #652

@Nonesence999

Description

@Nonesence999

In jansson.h:

fatal error: jansson_config.h: No such file or directory
   15 | #include "jansson_config.h"
      |          ^~~~~~~~~~~~~~~~~~

Issue whit cmake (I cannot include it) :

add_subdirectory(library/jansson)
target_link_libraries(PORJECT PRIVATE jansson)
#include <jansson.h> -> 'jansson.h' file not found
#include ../library/jansson/src/jansson.h -> working
#include ../cmake-build-debug/library/jansson/include/jansson.h -> working

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions