-
Notifications
You must be signed in to change notification settings - Fork 158
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
cmocka_cloned configure error on Mac for latest master #150
Comments
The I can reproduce this issue with CMake 3.21.2 but not with an earlier version (3.13.4). It appears that CMAKE_BUILD_TYPE is not propagated when the external cmocka project is being built (see this line). This issue is further discussed here. Let us look into how to best resolve the issue. |
Yeah, the develop branch. |
We need to spend some time on this to get it right, as it seems to be a nontrivial issue to solve in a portable manner. In the meantime, some possible workarounds include:
|
@lindstro Thanks. I can live with -DBUILD_TESTING=OFF for now. |
Thanks, This worked for me on mac M1 with macOS 12.0.1 cd zfp Well it built fine! I am hoping to put it to use soon. I needed 4D arrays. |
This issue has hopefully been resolved on |
macOS 11.6.1
AppleClang 13.0.0.13000029
cmake 3.21.2
The text was updated successfully, but these errors were encountered: