summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/try_compile/src.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-06-28 19:03:00 (GMT)
committerBrad King <brad.king@kitware.com>2016-06-28 19:03:45 (GMT)
commit943fe6e3b40cde7eb927bb2e2acf049fe580c188 (patch)
treec3732527bd7ace57a608042aca02aead3eae7145 /Tests/RunCMake/try_compile/src.c
parentd152ae123d1a3df456fe24f2e1a06d97083ad2d2 (diff)
downloadCMake-943fe6e3b40cde7eb927bb2e2acf049fe580c188.zip
CMake-943fe6e3b40cde7eb927bb2e2acf049fe580c188.tar.gz
CMake-943fe6e3b40cde7eb927bb2e2acf049fe580c188.tar.bz2
Revert "try_compile: Honor CMAKE_<LANG>_FLAGS_<CONFIG> changes"
Revert commit v3.6.0-rc1~160^2 (try_compile: Honor CMAKE_<LANG>_FLAGS_<CONFIG> changes, 2016-04-11). The behavior it introduced can break projects that depend on the lack of such behavior. We will have to introduce a policy or other mechanism to enable the behavior in a compatible way. Simply revert it for now. See issue #16174.
Diffstat (limited to 'Tests/RunCMake/try_compile/src.c')
-rw-r--r--Tests/RunCMake/try_compile/src.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Tests/RunCMake/try_compile/src.c b/Tests/RunCMake/try_compile/src.c
index 5e51382..8488f4e 100644
--- a/Tests/RunCMake/try_compile/src.c
+++ b/Tests/RunCMake/try_compile/src.c
@@ -2,6 +2,3 @@ int main(void)
{
return 0;
}
-#ifdef PP_ERROR
-#error PP_ERROR is defined
-#endif