Skip to content

Trying to build Jinja2Cpp with latest version of CMake - Have errors about Nlohmann::JSON and RapidJSON #202

@DragonOsman

Description

@DragonOsman

I tried to generate project files for Jinja2Cpp using the latest version of CMake, 3.18.1. I tried with both clang-cl.exe and cl.exe as the compiler for VS2019. In both cases, I got this CMakeError:

-- RapidJSON found. Headers: C:/Jinja2Cpp/thirdparty/json/rapid/include
fatal: Needed a single revision
Unable to find current revision in submodule path 'thirdparty/json/nlohmann'
CMake Error at thirdparty/internal_deps.cmake:41 (add_subdirectory):
  The source directory

    C:/Jinja2Cpp/thirdparty/json/nlohmann

  does not contain a CMakeLists.txt file.
Call Stack (most recent call first):
  thirdparty/thirdparty-external-boost.cmake:3 (include)
  thirdparty/CMakeLists.txt:44 (include)
  CMakeLists.txt:172 (include)

Please help me out here if possible. Is there a way to resolve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions