[ https://issues.apache.org/jira/browse/ZOOKEEPER-2859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16102320#comment-16102320 ]
Andrew Schwartzmeyer commented on ZOOKEEPER-2859: ------------------------------------------------- Fixing the build of just the client is trivial. Change {{if(UNIX)}} to {{if(LINUX)}} where we guard {{target_link_libraries(zookeeper PUBLIC m rt)}}. > CMake build doesn't support OS X > -------------------------------- > > Key: ZOOKEEPER-2859 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2859 > Project: ZooKeeper > Issue Type: Bug > Environment: OS X 10.12.6 > Reporter: Andrew Schwartzmeyer > Assignee: Andrew Schwartzmeyer > > Couple problems: > libm, librt, and libdl are all Linux specific, and provided "for free" on OS X > CppUnit (at least on OS X) needs `-std=c++11` > clang's ld doesn't understand --wrap > I can post an easy patch that at least lets you build the client (but not the > tests). The tests use that `--wrap` and it's non trivial to fix that on OS X. -- This message was sent by Atlassian JIRA (v6.4.14#64029)