Found the rather obscure bug that caused random crashes and implemented a workaround...
tree49f50fd707506d8fca2816c10acc18ac5fbf3a05
-rw-r--r-- 2135 CMakeLists.txt
drwxr-xr-x - cmake
drwxr-xr-x - src