Hi,
Those try_compile are quite expensive to re-run each time CMake is called:
|
try_compile(HAVE_PTHREAD_MUTEX_ROBUST |
It would be better to store the result in a CACHE variable (using a prefix to avoid collisions), to speed up project reconfiguration.