mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 23:00:07 -06:00
FindPython: fix error on multiple queries with different COMPONENTS
Ensure that multiple queries with different COMPONENTS specified in different sub-directories are fully supported.
This commit is contained in:
7
Tests/FindPython/DifferentComponents/CMakeLists.txt
Normal file
7
Tests/FindPython/DifferentComponents/CMakeLists.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
cmake_minimum_required(VERSION 3.1)
|
||||
|
||||
project(TestDifferentComponents LANGUAGES C)
|
||||
|
||||
add_subdirectory(subdir)
|
||||
|
||||
find_package(Python3 REQUIRED COMPONENTS Development.Module)
|
||||
@@ -0,0 +1,2 @@
|
||||
|
||||
find_package(Python3 REQUIRED COMPONENTS Development)
|
||||
Reference in New Issue
Block a user