summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-01-13 15:37:53 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-01-13 15:38:00 (GMT)
commit4bac5b628ea1e854ab23b6e713ad3eb211b3a9e3 (patch)
treeb445d0ca679da65f42f13f25085108aaf647769f /Tests/RunCMake/CMakeLists.txt
parent041e58d195587ddc9aa6d87148ea9c3ab63310d1 (diff)
parent2678e310537a965b531cfc2c1f54fc72aac9d7d5 (diff)
downloadCMake-4bac5b628ea1e854ab23b6e713ad3eb211b3a9e3.zip
CMake-4bac5b628ea1e854ab23b6e713ad3eb211b3a9e3.tar.gz
CMake-4bac5b628ea1e854ab23b6e713ad3eb211b3a9e3.tar.bz2
Merge topic 'target_compile_options-BEFORE-keyword'
2678e31053 target_compile_options: ensure BEFORE keyword is handled in all scopes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4203
Diffstat (limited to 'Tests/RunCMake/CMakeLists.txt')
-rw-r--r--Tests/RunCMake/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt
index a46393e..b8ac45b 100644
--- a/Tests/RunCMake/CMakeLists.txt
+++ b/Tests/RunCMake/CMakeLists.txt
@@ -450,7 +450,7 @@ add_RunCMake_test(target_link_options -DCMAKE_C_COMPILER_ID=${CMAKE_C_COMPILER_I
add_RunCMake_test(target_compile_definitions)
add_RunCMake_test(target_compile_features)
-add_RunCMake_test(target_compile_options)
+add_RunCMake_test(target_compile_options -DCMAKE_C_COMPILER_ID=${CMAKE_C_COMPILER_ID})
add_RunCMake_test(target_include_directories)
add_RunCMake_test(target_sources)
add_RunCMake_test(CheckModules)