Fix ObjC code linking

This commit is contained in:
OPNA2608 2022-02-10 12:40:51 +01:00 committed by tildearrow
parent dc46c67d9f
commit f56d771a4d

View file

@ -327,6 +327,11 @@ if (WIN32)
endif()
endif()
if (APPLE)
find_library(COCOA Cocoa REQUIRED)
list(APPEND DEPENDENCIES_LIBRARIES ${COCOA})
endif()
if (NOT MSVC)
set(WARNING_FLAGS -Wall -Wextra -Wno-unused-parameter)
if (WARNINGS_ARE_ERRORS)