Skip to content

MacOS Build Fails Using cmake 4.0.0 #1183

Open
@JasonCoombs

Description

@JasonCoombs

Maybe a note in the README would help?

Building with cmake 3.31.6 (the previous release available from cmake.org) worked fine.

If a note is added to the README it's also useful to know that $ cmake -G Xcode generates the Xcode project file, as expected.

-- Configuring incomplete, errors occurred!
Command PhaseScriptExecution failed with a nonzero exit code

note: Run script build phase 'Generate CMakeFiles/ALL_BUILD' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'ALL_BUILD' from project 'Hunter')
note: Run script build phase 'Generate CMakeFiles/ZERO_CHECK' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'ZERO_CHECK' from project 'Hunter')
** BUILD FAILED **


The following build commands failed:
	PhaseScriptExecution Generate\ CLI11-Release-prefix/src/CLI11-Release-stamp/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/CLI11-Release-configure /Users/jason/.hunter/_Base/26c79d5/fde453a/8f00a61/Build/CLI11/Build/build/Hunter.build/Debug/CLI11-Release.build/Script-1A27BE7057D102FAD2F31327.sh (in target 'CLI11-Release' from project 'Hunter')
(1 failure)

[hunter ** FATAL ERROR **] Build step failed (dir: /Users/jason/.hunter/_Base/26c79d5/fde453a/8f00a61/Build/CLI11
[hunter ** FATAL ERROR **] [Directory:/Users/jason/.hunter/_Base/Download/Hunter/0.25.8/26c79d5/Unpacked/cmake/projects/CLI11]

------------------------------ ERROR -----------------------------
    https://hunter.readthedocs.io/en/latest/reference/errors/error.external.build.failed.html
------------------------------------------------------------------

CMake Error at /Users/jason/.hunter/_Base/Download/Hunter/0.25.8/26c79d5/Unpacked/cmake/modules/hunter_error_page.cmake:12 (message):
Call Stack (most recent call first):
  /Users/jason/.hunter/_Base/Download/Hunter/0.25.8/26c79d5/Unpacked/cmake/modules/hunter_fatal_error.cmake:20 (hunter_error_page)
  /Users/jason/.hunter/_Base/Download/Hunter/0.25.8/26c79d5/Unpacked/cmake/modules/hunter_download.cmake:623 (hunter_fatal_error)
  /Users/jason/.hunter/_Base/Download/Hunter/0.25.8/26c79d5/Unpacked/cmake/projects/CLI11/hunter.cmake:225 (hunter_download)
  /Users/jason/.hunter/_Base/Download/Hunter/0.25.8/26c79d5/Unpacked/cmake/modules/hunter_add_package.cmake:62 (include)
  evmc/tools/evmc/CMakeLists.txt:5 (hunter_add_package)


-- Configuring incomplete, errors occurred!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions