diff options
author | Brad King <brad.king@kitware.com> | 2022-11-15 15:34:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-11-15 15:34:00 (GMT) |
commit | a4d0e4ff8f10b9ec6cc175765d8ec15b5e780b0d (patch) | |
tree | 9aee3e33db0650ab586550e8048e462858fee9e6 /Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference.cmake | |
parent | e855ed7fdee75e5669847192f5c2c1d088db6f5f (diff) | |
download | CMake-a4d0e4ff8f10b9ec6cc175765d8ec15b5e780b0d.zip CMake-a4d0e4ff8f10b9ec6cc175765d8ec15b5e780b0d.tar.gz CMake-a4d0e4ff8f10b9ec6cc175765d8ec15b5e780b0d.tar.bz2 |
Tests: Prepare RunCMake.GenEx-TARGET_PROPERTY for more independent cases
The existing cases all need to enable a language. Move this out of the
`CMakeLists.txt` file and into the individual cases to make room for
other cases that may not need this.
Diffstat (limited to 'Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference.cmake')
-rw-r--r-- | Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference.cmake b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference.cmake index 5a99f7a..ee8b9ec 100644 --- a/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference.cmake +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference.cmake @@ -1,6 +1,10 @@ +enable_language(CXX) add_subdirectory(BadSelfReference1) add_subdirectory(BadSelfReference2) add_subdirectory(BadSelfReference3) add_subdirectory(BadSelfReference4) add_subdirectory(BadSelfReference5) add_subdirectory(BadSelfReference6) + +# Suppress generator-specific targets that might pollute the stderr. +set(CMAKE_SUPPRESS_REGENERATION TRUE) |