Issue reported with https://github.com/google/draco/issues/1058 --- cmake/draco_targets.cmake.orig 2024-01-17 21:42:36 +++ cmake/draco_targets.cmake 2024-04-15 11:11:13 @@ -162,7 +162,7 @@ endif() if(exe_LIB_DEPS) - if(CMAKE_CXX_COMPILER_ID MATCHES "^Clang|^GNU") + if(NOT APPLE AND CMAKE_CXX_COMPILER_ID MATCHES "^Clang|^GNU") # Third party dependencies can introduce dependencies on system and test # libraries. Since the target created here is an executable, and CMake # does not provide a method of controlling order of link dependencies,