diff options
author | Sylvain Joubert <joubert.sy@gmail.com> | 2014-09-20 20:37:52 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-09-22 12:44:39 (GMT) |
commit | 6120fca8e229da08fae1d58017962491fb6e03f3 (patch) | |
tree | f71558713915872ba651144123dc4927cf0df928 /Tests | |
parent | 3689c43a8c62ca5883d776ee75a34f145d03ab7a (diff) | |
download | CMake-6120fca8e229da08fae1d58017962491fb6e03f3.zip CMake-6120fca8e229da08fae1d58017962491fb6e03f3.tar.gz CMake-6120fca8e229da08fae1d58017962491fb6e03f3.tar.bz2 |
Ninja: Prevent compilers to be silently modified
Unlike with Unix Makefiles generator modifying compiler paths was not
protected with Ninja generator. It was possible to modify them in the
cache without the expected effect on the generated solution. Also
activate corresponding tests with Ninja.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt index 549aed8..fd3bb03 100644 --- a/Tests/RunCMake/CMakeLists.txt +++ b/Tests/RunCMake/CMakeLists.txt @@ -50,7 +50,7 @@ add_RunCMake_test(CMP0051) add_RunCMake_test(CMP0053) add_RunCMake_test(CMP0054) add_RunCMake_test(CTest) -if(UNIX AND "${CMAKE_GENERATOR}" MATCHES "Unix Makefiles") +if(UNIX AND "${CMAKE_GENERATOR}" MATCHES "Unix Makefiles|Ninja") add_RunCMake_test(CompilerChange) endif() add_RunCMake_test(CompilerNotFound) |