22 lines
556 B
CMake
22 lines
556 B
CMake
cmake_minimum_required(VERSION 4.2)
|
|
project(threepp_vendor)
|
|
|
|
find_package(ament_cmake REQUIRED)
|
|
|
|
set(BUILD_SHARED_LIBS ON CACHE INTERNAL "Build shared libraries" FORCE)
|
|
|
|
include(FetchContent)
|
|
FetchContent_Declare(
|
|
threepp
|
|
GIT_REPOSITORY https://github.com/markaren/threepp.git
|
|
GIT_TAG 2026-08-21
|
|
GIT_SHALLOW TRUE
|
|
SYSTEM
|
|
)
|
|
set(BUILD_SHARED_LIBS ON CACHE INTERNAL "Build shared libraries" FORCE)
|
|
set(THREEPP_USE_EXTERNAL_GLFW ON)
|
|
FetchContent_MakeAvailable(threepp)
|
|
|
|
ament_export_dependencies(threepp)
|
|
ament_package()
|