mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
deps: Fix 32-bit build of lib{unibilium,termkey,tickit}
This commit is contained in:
parent
3b435621a5
commit
f76df24753
15
third-party/CMakeLists.txt
vendored
15
third-party/CMakeLists.txt
vendored
@ -97,9 +97,10 @@ if(USE_BUNDLED_LIBUNIBILIUM)
|
||||
-P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/DownloadAndExtractFile.cmake
|
||||
CONFIGURE_COMMAND ""
|
||||
BUILD_IN_SOURCE 1
|
||||
BUILD_COMMAND ${MAKE_PRG} CC=${DEPS_C_COMPILER}
|
||||
BUILD_COMMAND ${MAKE_PRG} CC=${CMAKE_C_COMPILER}
|
||||
PREFIX=${DEPS_INSTALL_DIR}
|
||||
CFLAGS=-fPIC
|
||||
CFLAGS+=${CMAKE_C_COMPILER_ARG1}
|
||||
CFLAGS+=-fPIC
|
||||
INSTALL_COMMAND ${MAKE_PRG} PREFIX=${DEPS_INSTALL_DIR} install)
|
||||
list(APPEND THIRD_PARTY_DEPS libunibilium)
|
||||
endif()
|
||||
@ -120,10 +121,11 @@ if(USE_BUNDLED_LIBTERMKEY)
|
||||
CONFIGURE_COMMAND ""
|
||||
BUILD_IN_SOURCE 1
|
||||
BUILD_COMMAND ""
|
||||
INSTALL_COMMAND ${MAKE_PRG} CC=${DEPS_C_COMPILER}
|
||||
INSTALL_COMMAND ${MAKE_PRG} CC=${CMAKE_C_COMPILER}
|
||||
PREFIX=${DEPS_INSTALL_DIR}
|
||||
PKG_CONFIG_PATH=${DEPS_LIB_DIR}/pkgconfig
|
||||
CFLAGS=-fPIC
|
||||
CFLAGS+=${CMAKE_C_COMPILER_ARG1}
|
||||
CFLAGS+=-fPIC
|
||||
install)
|
||||
list(APPEND THIRD_PARTY_DEPS libtermkey)
|
||||
add_dependencies(libtermkey libunibilium)
|
||||
@ -145,10 +147,11 @@ if(USE_BUNDLED_LIBTICKIT)
|
||||
CONFIGURE_COMMAND ""
|
||||
BUILD_IN_SOURCE 1
|
||||
BUILD_COMMAND ""
|
||||
INSTALL_COMMAND ${MAKE_PRG} CC=${DEPS_C_COMPILER}
|
||||
INSTALL_COMMAND ${MAKE_PRG} CC=${CMAKE_C_COMPILER}
|
||||
PREFIX=${DEPS_INSTALL_DIR}
|
||||
PKG_CONFIG_PATH=${DEPS_LIB_DIR}/pkgconfig
|
||||
CFLAGS=-fPIC
|
||||
CFLAGS+=${CMAKE_C_COMPILER_ARG1}
|
||||
CFLAGS+=-fPIC
|
||||
install)
|
||||
list(APPEND THIRD_PARTY_DEPS libtickit)
|
||||
add_dependencies(libtickit libtermkey)
|
||||
|
Loading…
Reference in New Issue
Block a user