summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-03-08 21:59:51 (GMT)
committerBrad King <brad.king@kitware.com>2022-03-08 22:29:12 (GMT)
commit6ab9fbd43bfce25cf9ee71a81145a1e5f9dc4a12 (patch)
tree180132890430c04a342aec84256ce5c663d3386d /Tests/RunCMake/CMakeLists.txt
parent78adb1b952d92608e8de708084c8cdac69286616 (diff)
downloadCMake-6ab9fbd43bfce25cf9ee71a81145a1e5f9dc4a12.zip
CMake-6ab9fbd43bfce25cf9ee71a81145a1e5f9dc4a12.tar.gz
CMake-6ab9fbd43bfce25cf9ee71a81145a1e5f9dc4a12.tar.bz2
color: Add tests for CMAKE_COLOR_DIAGNOSTICS
Diffstat (limited to 'Tests/RunCMake/CMakeLists.txt')
-rw-r--r--Tests/RunCMake/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt
index 652ea5c..7fc1aff 100644
--- a/Tests/RunCMake/CMakeLists.txt
+++ b/Tests/RunCMake/CMakeLists.txt
@@ -278,6 +278,9 @@ endif()
add_RunCMake_test(CMakeDependentOption)
add_RunCMake_test(CMakeRoleGlobalProperty)
add_RunCMake_test(CMakeRelease -DCMake_TEST_JQ=${CMake_TEST_JQ})
+if(CMAKE_GENERATOR MATCHES "Make|Ninja")
+ add_RunCMake_test(Color)
+endif()
if(UNIX AND "${CMAKE_GENERATOR}" MATCHES "Unix Makefiles|Ninja")
add_RunCMake_test(CompilerChange)
endif()