Add _GNU_SOURCE=1 to find clone() with PGI
commitbad36c3375184c304bad2d1cff7801415e1b4dbd
authorErik Lindahl <erik@kth.se>
Fri, 8 Aug 2014 20:36:48 +0000 (8 22:36 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Wed, 20 Aug 2014 16:38:10 +0000 (20 18:38 +0200)
tree1265dff4c68427d88e3d9b944bdfca3bf2d330e4
parent60fe41515b4d7bf5d4d18e365f38f77d824c3e94
Add _GNU_SOURCE=1 to find clone() with PGI

The PGI C++ compiler would not find clone()
in sched.h unless _GNU_SOURCE is set, and
it shouldn't hurt any other platforms if
we add it by default for gmock.

Change-Id: Id9446622bb49e17efd80ea1508e0ee40b48acdbe
src/external/gmock-1.7.0/CMakeLists.txt