Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.

Support non-Windows configure and build #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

JackBoosY
Copy link

The current cmake code is full of WIN32 only code, improve these to support non-Windows.

@JackBoosY JackBoosY marked this pull request as draft June 14, 2022 09:21
@JackBoosY
Copy link
Author

WIP: osx has some regressions.

@JackBoosY JackBoosY marked this pull request as ready for review June 15, 2022 05:58
@@ -701,7 +703,7 @@ set(C_SRCS
src/witness.c
)

if(CMAKE_SYSTEM_NAME MATCHES "Darwin")
if(CMAKE_SYSTEM_NAME MATCHES "Darwin" AND NOT disable-zone-allocator)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know how to get apple zone, so temporary disable this according to configure.ac.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant