Re: [CMake] Policy Stack within Macros/Functions

2019-10-21 Thread Sérgio Agostinho
policies you need without concerns. Sérgio On 21/10/19 15:45, Kyle Edwards wrote: > On Sun, 2019-10-20 at 19:25 +0200, Sérgio Agostinho wrote: >> Hey everyone, >> >> I’m shipping a config file for my library and inside I set push/pop >> specific policies so that me

[CMake] Policy Stack within Macros/Functions

2019-10-20 Thread Sérgio Agostinho
Hey everyone, I’m shipping a config file for my library and inside I set push/pop specific policies so that me and the consumers of my library can target different policies without us clashing against each other. However I’m struggling with |cmake_policy(PUSH)|/|cmake_policy(POP)| once they are