inja icon indicating copy to clipboard operation
inja copied to clipboard

FetchContent doesn't work properly

Open DeaSTL opened this issue 1 year ago • 0 comments

/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...
  )

DeaSTL avatar Dec 23 '23 00:12 DeaSTL