Using the -DTHREAD_SAFE=ON will not perform any change on the installation. I would assume that this switch should change the defaults as defined in the cmake targets.