-
Notifications
You must be signed in to change notification settings - Fork 65
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
Can't compile on OS X 12.4 #307
Comments
Clearly, when CMake was generating the command to compile the test program, it put an empty string as the value for the This is a wild guess: could you make this change to the top of cmake_minimum_required(VERSION 3.12)
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.9" CACHE STRING "Minimum OS X deployment version")
-set(CMAKE_OSX_ARCHITECTURES "$(ARCHS_STANDARD)" CACHE STRING "" FORCE)
+set(CMAKE_OSX_ARCHITECTURES "${ARCHS_STANDARD}" CACHE STRING "" FORCE) That is, change the round brackets to curly brackets around |
Applying that patch caused a successful build. Thank you very much. In lieu of a pull request, here's the actual diff - I'll leave it to someone who knows better to do the mechanics of it:
|
@singingfish Good news. I am curious what
near the top of Anyway, I'll do a PR for this soon. |
Here's the error log after following the build instructions:
xcode version is:
The text was updated successfully, but these errors were encountered: