mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
build: propagate sysroot to C++ deps (gperf) #10491
This commit is contained in:
committed by
Justin M. Keyes
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)
|
if(CMAKE_OSX_SYSROOT)
|
||||||
set(DEPS_C_COMPILER "${DEPS_C_COMPILER} -isysroot${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()
|
endif()
|
||||||
|
|
||||||
# Cross compiling: use these for dependencies built for the
|
# Cross compiling: use these for dependencies built for the
|
||||||
|
|||||||
Reference in New Issue
Block a user