Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FetchContent doesn't work properly #286

Open
DeaSTL opened this issue Dec 23, 2023 · 0 comments
Open

FetchContent doesn't work properly #286

DeaSTL opened this issue Dec 23, 2023 · 0 comments

Comments

@DeaSTL
Copy link

DeaSTL commented Dec 23, 2023

/home/deastl/repos/cpp/frate/_deps/inja-src/test/benchmark.cpp:3:10: fatal error: hayai/hayai.hpp: No such 
file or directory
    3 | #include "hayai/hayai.hpp"

I'd really like to FetchContent on inja so I don't have to have it in my include directory, my current configuration looks like this

CPMAddPackage(
  NAME inja
  GITHUB_REPOSITORY pantor/inja
  GIT_TAG v3.4.0
  OPTIONS
    "BUILD_STATIC_LIBS ON"
    "INJA_USE_EMBEDDED_JSON OFF"
    "INJA_BUILD_TESTS OFF" # I thought this might not compile the tests but I guess it doesn't hmmm...
  )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant