mirror of
https://github.com/neovim/neovim.git
synced 2025-11-24 19:20:39 +00:00
build/macOS: remove -iframework line #7891
Linker error:
[1/3] Linking C executable bin/nvim
ld: warning: directory not found for option '-FCoreFoundation'
Only the -isysroot change is needed, see
https://github.com/neovim/neovim/pull/7891#discussion_r164036958
This commit is contained in:
@@ -14,7 +14,6 @@ if(WIN32)
|
||||
# tell MinGW compiler to enable wmain
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -municode")
|
||||
elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -iframework CoreFoundation")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -framework CoreFoundation")
|
||||
set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -framework CoreFoundation")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user