mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-20 03:16:10 +00:00
# Conflicts: # .github/workflows/CreateRelease.yml # .github/workflows/MacOS.yml # scripts/Linux/2_deploy.sh # scripts/macOS/2_deploy.sh # src/external/external.cmake # src/external/u3d.cmake
14 lines
458 B
CMake
14 lines
458 B
CMake
# Copyright 2019, 2020, Collabora, Ltd.
|
|
# Copyright 2019, 2020, Visual Computing Lab, ISTI - Italian National Research Council
|
|
# SPDX-License-Identifier: BSL-1.0
|
|
|
|
option(ALLOW_BUNDLED_U3D "Allow use of bundled u3d source" ON)
|
|
|
|
if(ALLOW_BUNDLED_U3D AND EXISTS "${CMAKE_CURRENT_LIST_DIR}/u3d/CMakeLists.txt")
|
|
message(STATUS "- u3d - using bundled source")
|
|
|
|
set(MESSAGE_QUIET ON)
|
|
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/u3d)
|
|
unset(MESSAGE_QUIET)
|
|
endif()
|