cpm-cmake / CPM.cmake

📦 CMake's missing package manager. A small CMake script for setup-free, cross-platform, reproducible dependency management.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

long filename

hsdk123 opened this issue · comments

I'm using

CPMAddPackage(json
  GIT_REPOSITORY https://github.com/ArthurSonzogni/nlohmann_json_cmake_fetchcontent.git
  GIT_TAG v3.9.1
  SYSTEM
)

and get the following error:

-- CPM: Adding package nlohmann_json_cmake_fetchcontent@3.9.1 (v3.9.1)
ninja: error: Stat(C:/Users/daego/Desktop/Projects/Light.vn-core/core/out/build/emscripten/_deps/nlohmann_json_cmake_fetchcontent-subbuild/nlohmann_json_cmake_fetchcontent-populate-prefix/src/nlohmann_json_cmake_fetchcontent-populate-stamp/nlohmann_json_cmake_fetchcontent-populate-done): Filename longer than 260 characters

Any advice would be grateful