diff options
author | Brad King <brad.king@kitware.com> | 2020-11-30 17:34:24 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-11-30 17:34:31 (GMT) |
commit | b13961fb0fb68280fcad178ab0418d6fdec54c25 (patch) | |
tree | dd054349e707eb0eddce059a357443efe2200573 /Tests/RunCMake/CheckSourceRuns/CheckOBJCSourceRuns.cmake | |
parent | 8187bd2f4bc54c9003cb0034b21530e3bfd24e8d (diff) | |
parent | f3d4254b3d2437938440257cd989cb87da517e01 (diff) | |
download | CMake-b13961fb0fb68280fcad178ab0418d6fdec54c25.zip CMake-b13961fb0fb68280fcad178ab0418d6fdec54c25.tar.gz CMake-b13961fb0fb68280fcad178ab0418d6fdec54c25.tar.bz2 |
Merge topic 'check-lang-conditions'
f3d4254b3d Check*: Tolerate variables set with names of languages
01d91ae5f2 Tests: Fix RunCMake.Check* conditions for enabling Fortran
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !5536
Diffstat (limited to 'Tests/RunCMake/CheckSourceRuns/CheckOBJCSourceRuns.cmake')
-rw-r--r-- | Tests/RunCMake/CheckSourceRuns/CheckOBJCSourceRuns.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/CheckSourceRuns/CheckOBJCSourceRuns.cmake b/Tests/RunCMake/CheckSourceRuns/CheckOBJCSourceRuns.cmake index 55f28f3..b828352 100644 --- a/Tests/RunCMake/CheckSourceRuns/CheckOBJCSourceRuns.cmake +++ b/Tests/RunCMake/CheckSourceRuns/CheckOBJCSourceRuns.cmake @@ -1,6 +1,8 @@ enable_language (OBJC) include(CheckSourceRuns) +set(OBJC 1) # test that this is tolerated + check_source_runs(OBJC [[ #import <Foundation/Foundation.h> int main() { |