mirror of
https://github.com/blender/blender
synced 2026-10-25 03:07:01 +03:00
- Commands which have arguments split over multiple lines use indented lines. - Wrap lines where multiple commands run using "&&". - Blank lines between multiple commands helps the text from becoming too dense.
20 lines
448 B
CMake
20 lines
448 B
CMake
# SPDX-FileCopyrightText: 2022 Blender Authors
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
set(GMMLIB_EXTRA_ARGS
|
|
)
|
|
|
|
ExternalProject_Add(external_gmmlib
|
|
URL file://${PACKAGE_DIR}/${GMMLIB_FILE}
|
|
URL_HASH ${GMMLIB_HASH_TYPE}=${GMMLIB_HASH}
|
|
DOWNLOAD_DIR ${DOWNLOAD_DIR}
|
|
PREFIX ${BUILD_DIR}/gmmlib
|
|
|
|
CMAKE_ARGS
|
|
-DCMAKE_INSTALL_PREFIX=${LIBDIR}/gmmlib
|
|
${DEFAULT_CMAKE_FLAGS}
|
|
${GMMLIB_EXTRA_ARGS}
|
|
|
|
INSTALL_DIR ${LIBDIR}/gmmlib
|
|
)
|