Oops …
This line change is probably the culprit and is probably not required. Could you give it a try by just changing ON
to OFF
in this line:
set(STATIC_BUILD ON CACHE BOOL "Static build of the third-party libraries (necessary for Windows)")```
Best regards,
Alain