Skip to content

Hello Chalet community! #249

Answered by rewrking
paulross80 asked this question in Q&A
Apr 1, 2023 · 4 comments · 8 replies
Discussion options

You must be logged in to vote

Thanks for trying it out! So there's a couple things to unpack here that I can help you with.

  1. Take nlohmann_json out of links and ${externalBuild:nlohmann-json} out of libDirs. In includeDirs, change ${external:nlohmann-json}/include to ${external:nlohmann-json}/single_include. It's a header-only library, so you don't need to build/link anything
  2. You have zlib's build path set to "location": "${external:utf8-cpp}" instead of "location": "${external:zlib}"
  3. utf8cpp also looks to be header-only. The CmakeLists.txt it has is just for integrating into another cmake project - it just describes where its includes are. You can safely remove utf8cpp from links, and ${externalBuild:utf8-cpp} from l…

Replies: 4 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by rewrking
Comment options

You must be logged in to vote
3 replies
@rewrking
Comment options

@paulross80
Comment options

@rewrking
Comment options

Comment options

You must be logged in to vote
1 reply
@paulross80
Comment options

Comment options

You must be logged in to vote
4 replies
@dimitre
Comment options

@paulross80
Comment options

@dimitre
Comment options

@paulross80
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants