gtest: Test presence of source on existing file
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Fri, 10 Mar 2017 17:29:56 +0000 (18:29 +0100)
committerAshok Babu Channa <ashok.channa@samsung.com>
Wed, 22 Mar 2017 13:59:23 +0000 (13:59 +0000)
commit58cf73f4a86ee0e204cf3cce991077a446b29cbd
treee49f8936cd2fa58da2c8c1eb25384d972d5a3dca
parenta90bf9f2d3ba51733886a4c4242271527c7281e6
gtest: Test presence of source on existing file

configure is not in upstream's repo
because, it's intended to be generated from configure.ac.

So to avoid ambiguity, we test if CMake file is present instead.

Bug: https://jira.iotivity.org/browse/IOT-1745
Change-Id: Ia2e7c8c4d0c827b300b9345c9cb7811a193cfd9e
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/17855
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Mats Wichmann <mats@linux.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
extlibs/gtest/SConscript