# macOS compilation support for EtcPal

set(ETCPAL_OS_ADDITIONAL_SOURCES
  ${ETCPAL_ROOT}/include/os/macos/etcpal/os_inet.h
  ${ETCPAL_ROOT}/include/os/macos/etcpal/os_lock.h
  ${ETCPAL_ROOT}/include/os/macos/etcpal/os_socket.h
  ${ETCPAL_ROOT}/include/os/macos/etcpal/os_thread.h

  ${ETCPAL_ROOT}/src/os/macos/etcpal/os_error.h
  ${ETCPAL_ROOT}/src/os/macos/etcpal/os_error.c
  ${ETCPAL_ROOT}/src/os/macos/etcpal/os_inet.c
  ${ETCPAL_ROOT}/src/os/macos/etcpal/os_lock.c
  ${ETCPAL_ROOT}/src/os/macos/etcpal/os_netint.c
  ${ETCPAL_ROOT}/src/os/macos/etcpal/os_socket.c
  ${ETCPAL_ROOT}/src/os/macos/etcpal/os_thread.c
  ${ETCPAL_ROOT}/src/os/macos/etcpal/os_timer.c
  ${ETCPAL_ROOT}/src/os/macos/etcpal/os_uuid.c
)
set(ETCPAL_OS_INCLUDE_DIR ${ETCPAL_ROOT}/include/os/macos)
