summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/try_compile/RunCMakeTest.cmake
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/RunCMakeTest.cmake
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/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/try_compile/RunCMakeTest.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/Tests/RunCMake/try_compile/RunCMakeTest.cmake b/Tests/RunCMake/try_compile/RunCMakeTest.cmake
index ec099fe..4f30f1d 100644
--- a/Tests/RunCMake/try_compile/RunCMakeTest.cmake
+++ b/Tests/RunCMake/try_compile/RunCMakeTest.cmake
@@ -25,7 +25,6 @@ run_cmake(TargetTypeInvalid)
run_cmake(TargetTypeStatic)
run_cmake(CMP0056)
-run_cmake(CompileFlags)
if(RunCMake_GENERATOR MATCHES "Make|Ninja")
# Use a single build tree for a few tests without cleaning.