set(... PARENT_SCOPE)
Michael
On 9. Nov, 2009, at 11:11 , Olivier Pierard wrote:
Hi,
I'm facing another rather simple problem.
I try to modify a variable defined in the main CMakeLists.txt within
another one called by the add_subdirectory command. Modification is
well taken into account in
Hi Oliver,
Use the option PARENT_SCOPE when setting the variable.
HTH,
Marcel Loose.
On Mon, 2009-11-09 at 11:11 +0100, Olivier Pierard wrote:
> Hi,
>
> I'm facing another rather simple problem.
>
> I try to modify a variable defined in the main CMakeLists.txt within
> another one called by th
Hi,
I'm facing another rather simple problem.
I try to modify a variable defined in the main CMakeLists.txt within
another one called by the add_subdirectory command. Modification is
well taken into account in the subfolder but once back in the main one,
variable is set back to its previous valu