2015-03-09 06:24:21 -07:00
|
|
|
ExternalProject_Add(libtermkey
|
|
|
|
URL ${LIBTERMKEY_URL}
|
2022-09-29 12:46:14 -07:00
|
|
|
URL_HASH SHA256=${LIBTERMKEY_SHA256}
|
|
|
|
DOWNLOAD_NO_PROGRESS TRUE
|
2015-03-09 06:24:21 -07:00
|
|
|
DOWNLOAD_DIR ${DEPS_DOWNLOAD_DIR}/libtermkey
|
2023-01-24 00:55:38 -07:00
|
|
|
PATCH_COMMAND ${CMAKE_COMMAND} -E copy
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/cmake/libtermkeyCMakeLists.txt
|
|
|
|
${DEPS_BUILD_DIR}/src/libtermkey/CMakeLists.txt
|
2023-01-25 06:36:17 -07:00
|
|
|
CMAKE_ARGS ${DEPS_CMAKE_ARGS}
|
2023-02-08 03:00:16 -07:00
|
|
|
-D CMAKE_SHARED_LIBRARY_LINK_C_FLAGS="" # Hack to avoid -rdynamic in Mingw
|
|
|
|
-D UNIBILIUM_INCLUDE_DIRS=${DEPS_INSTALL_DIR}/include
|
|
|
|
-D UNIBILIUM_LIBRARIES=${DEPS_LIB_DIR}/${CMAKE_STATIC_LIBRARY_PREFIX}unibilium${CMAKE_STATIC_LIBRARY_SUFFIX}
|
2023-01-25 06:36:17 -07:00
|
|
|
CMAKE_CACHE_ARGS ${DEPS_CMAKE_CACHE_ARGS})
|