jt2594838 commented on code in PR #434:
URL: https://github.com/apache/tsfile/pull/434#discussion_r1988240146


##########
cpp/third_party/zlib-1.2.13/CMakeLists.txt:
##########
@@ -67,7 +67,8 @@ endif()
 if(NOT CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_CURRENT_BINARY_DIR)
     # If we're doing an out of source build and the user has a zconf.h
     # in their source tree...
-    if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/zconf.h)
+    # only rename in macOS because it conflicts with the embedded header
+    if(APPLE AND EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/zconf.h)

Review Comment:
   I may try to revert it, but if the CI issue reappears, I will add it back.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@tsfile.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to