Indeed. Here is the corrected patch.
Thanks for the review,
Francois
On Tue, May 3, 2016 at 6:46 PM, Florent Castelli wrote:
> "exec(\"import sys\\ntry:\\n import numpy\\nexcept:\\n
> sys.exit(0)\\nsys.exit(1)\")"
>
> This seems to be great to check that numpy exists! You're probably missing
"exec(\"import sys\\ntry:\\n import numpy\\nexcept:\\n
sys.exit(0)\\nsys.exit(1)\")"
This seems to be great to check that numpy exists! You're probably
missing a variable somewhere ;)
/Florent
On 03/05/2016 20:37, Francois Budin wrote:
Hello everyone,
I wrote a short macro for one projec
Hello everyone,
I wrote a short macro for one project I work on to verify at configuration
time that a python library is available on the system on which the project
is configured. I have attached a patch to potentially integrate this new
macro to CMake. I saw other people doing similar things in