File: CGAL_setup_tl-excepted.cmake

package info (click to toggle)
cgal 6.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 144,952 kB
  • sloc: cpp: 811,597; ansic: 208,576; sh: 493; python: 411; makefile: 286; javascript: 174
file content (17 lines) | stat: -rw-r--r-- 509 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
cmake_minimum_required(VERSION 3.24...3.31)

include_guard(GLOBAL)

include(FetchContent)

FetchContent_Declare(
  tl-expected
  DOWNLOAD_EXTRACT_TIMESTAMP NO
  GIT_REPOSITORY https://github.com/TartanLlama/expected.git
  GIT_TAG        292eff8bd8ee230a7df1d6a1c00c4ea0eb2f0362 # https://github.com/TartanLlama/expected/releases/tag/v1.1.0
  FIND_PACKAGE_ARGS CONFIG
)

set(EXPECTED_BUILD_TESTS FALSE CACHE BOOL "Enable tl::expected tests (defaults to OFF for CGAL)")

FetchContent_MakeAvailable(tl-expected)