File: CMakeLists.txt

package info (click to toggle)
scikit-build-core 0.11.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,408 kB
  • sloc: python: 13,380; ansic: 140; cpp: 134; sh: 27; fortran: 18; makefile: 7
file content (17 lines) | stat: -rw-r--r-- 382 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
cmake_minimum_required(VERSION 3.15...3.26)

project(
  ${SKBUILD_PROJECT_NAME}
  LANGUAGES
  VERSION 2.3.4)

find_package(ExamplePkg REQUIRED)
find_package(ExampleRoot REQUIRED)
include(ExampleInclude)

if(NOT EXAMPLE_INCLUDE_FOUND)
  message(FATAL_ERROR "ExampleInclude not found")
endif()

# Testing scripts
install(PROGRAMS scripts/script1 DESTINATION "${SKBUILD_SCRIPTS_DIR}")