Commit b52c6498753262549bcf088e7c7836ddd4d50ce1

Azat Khuzhin 2018-11-04T19:48:11

cmake: do not detect _GNU_SOURCE/__GNU_LIBRARY__ if it is cached (cherry picked from commit 3ed93997387296e374d8a2dd770e43ddfa3328e9)