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 is not available via brew #1

Open
qwwdfsad opened this issue Sep 17, 2024 · 1 comment
Open

FetchContent is not available via brew #1

qwwdfsad opened this issue Sep 17, 2024 · 1 comment

Comments

@qwwdfsad
Copy link
Owner

Steps to reproduce:

% brew install hsdis                                                                                 
==> Fetching qwwdfsad/tap/hsdis
==> Downloading https://github.com/qwwdfsad/effortless-hsdis/archive/refs/tags/v0.1.zip
Already downloaded: /Users/filipp.zhinkin/Library/Caches/Homebrew/downloads/406be63ed3395d8f0fa5e02a6eb82204f9755c59f1c96207f1593ec4e1cffe0b--effortless-hsdis-0.1.zip
==> Installing hsdis from qwwdfsad/tap
==> cmake -S . -B build -DCMAKE_INSTALL_PREFIX=/opt/homebrew/Cellar/hsdis/0.1/libexec
Last 15 lines from /Users/filipp.zhinkin/Library/Logs/Homebrew/hsdis/01.cmake:
-- Check for working CXX compiler: /opt/homebrew/Library/Homebrew/shims/mac/super/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /opt/homebrew/Library/Homebrew/cmake/trap_fetchcontent_provider.cmake:12 (message):
  Refusing to populate dependency 'capstone' with FetchContent while building
  in Homebrew, please use a formula dependency or add a resource to the
  formula.
Call Stack (most recent call first):
  /opt/homebrew/Cellar/cmake/3.30.2/share/cmake/Modules/FetchContent.cmake:2468:EVAL:1 (trap_fetchcontent_provider)
  /opt/homebrew/Cellar/cmake/3.30.2/share/cmake/Modules/FetchContent.cmake:2468 (cmake_language)
  /opt/homebrew/Cellar/cmake/3.30.2/share/cmake/Modules/FetchContent.cmake:2314 (__FetchContent_MakeAvailable_eval_code)
  CMakeLists.txt:46 (FetchContent_MakeAvailable)


-- Configuring incomplete, errors occurred!

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/qwwdfsad/homebrew-tap/issues
@qwwdfsad
Copy link
Owner Author

qwwdfsad commented Oct 2, 2024

Homebrew/brew@920364c
Reasons are unclear though

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