From 0a56bd33308d2c4ae45f261498d69cb44fbd13c8 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Fri, 26 Jan 2018 11:38:56 +0100 Subject: [PATCH] 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 --- src/nvim/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt index b14f93f90a..0e174c3c61 100644 --- a/src/nvim/CMakeLists.txt +++ b/src/nvim/CMakeLists.txt @@ -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()