Skip to content

Commit 3dc5afe

Browse files
linesightclaude
andcommitted
macos: link subprocess against CoreFoundation
main_mac.mm uses CFBundleGetMainBundle, CFBundleGetIdentifier, etc. Add -framework CoreFoundation so the linker resolves those symbols. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 2b5d253 commit 3dc5afe

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/subprocess/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ elseif(APPLE)
154154
)
155155
target_link_libraries(cefpython_subprocess PRIVATE
156156
"${CEFPYTHON_CEF_ROOT}/lib/libcef_dll_wrapper.a"
157+
"-framework CoreFoundation"
157158
)
158159
else()
159160
target_compile_options(cefpython_subprocess PRIVATE -DNDEBUG -O3)

0 commit comments

Comments
 (0)