1 2 3 4 5 6 7
cmake_minimum_required(VERSION 3.1) project(TestDifferentComponents LANGUAGES C) add_subdirectory(subdir) find_package(Python3 REQUIRED COMPONENTS Development.Module)