Skip to content

Commit

Permalink
frameworks
Browse files Browse the repository at this point in the history
  • Loading branch information
danemadsen committed Jul 28, 2024
1 parent 6590ae1 commit f73625e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,15 @@ target_link_libraries(
onnxruntime
)

# Link against CoreFoundation and Foundation on macOS
if(APPLE)
target_link_libraries(
babylon
"-framework CoreFoundation"
"-framework Foundation"
)
endif()

# Include example directory if EXAMPLES flag is set
option(BUILD_EXAMPLES "Build examples" OFF)

Expand Down

0 comments on commit f73625e

Please sign in to comment.