[cmake-developers] [CMake 0015915]: add_subdirectory(directory EXPORT_VARIABLES VAR_1 VAR_2) gives "add_subdirectory called with incorrect number of arguments"

Mantis Bug Tracker mantis at public.kitware.com
Wed Jan 13 11:25:57 EST 2016


The following issue has been SUBMITTED. 
====================================================================== 
https://cmake.org/Bug/view.php?id=15915 
====================================================================== 
Reported By:                Bryan Koch
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15915
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   low
Status:                     new
====================================================================== 
Date Submitted:             2016-01-13 11:25 EST
Last Modified:              2016-01-13 11:25 EST
====================================================================== 
Summary:                    add_subdirectory(directory EXPORT_VARIABLES VAR_1
VAR_2) gives "add_subdirectory called with incorrect number of arguments"
Description: 
As per, https://cmake.org/pipermail/cmake/2005-September/007204.html

ADD_SUBDIRECTORY(directory EXPORT VARIABLES VAR_FOO1 VAR_FOO2) should export
variables from the child scope into the parent scope.

It was implemented by Ken Martin as per below
https://cmake.org/Bug/bug_relationship_graph.php?bug_id=2221&graph=relation
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2016-01-13 11:25 Bryan Koch     New Issue                                    
======================================================================



More information about the cmake-developers mailing list