mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
build: propagate sysroot to C++ deps (gperf) #10491
This commit is contained in:
parent
63ecfc97ef
commit
be949d6c9d
1
third-party/CMakeLists.txt
vendored
1
third-party/CMakeLists.txt
vendored
@ -101,6 +101,7 @@ set(DEPS_CXX_COMPILER "${CMAKE_CXX_COMPILER}")
|
||||
|
||||
if(CMAKE_OSX_SYSROOT)
|
||||
set(DEPS_C_COMPILER "${DEPS_C_COMPILER} -isysroot${CMAKE_OSX_SYSROOT}")
|
||||
set(DEPS_CXX_COMPILER "${DEPS_CXX_COMPILER} -isysroot${CMAKE_OSX_SYSROOT}")
|
||||
endif()
|
||||
|
||||
# Cross compiling: use these for dependencies built for the
|
||||
|
Loading…
Reference in New Issue
Block a user