summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2019-10-27 23:28:17 +1100
committerCraig Scott <craig.scott@crascit.com>2019-10-27 23:28:17 +1100
commit89ad3b395902252e0120d1a3f72f370b20e64e80 (patch)
tree20138a331da47f605a57d8dcb2aba74c831ffcb4
parent92780281c2e8a46223b262b152caa9c8329373b1 (diff)
downloadcmake-89ad3b395902252e0120d1a3f72f370b20e64e80.tar.gz
Tests: Prevent CMP0012 policy warnings in Framework test output
-rw-r--r--Tests/RunCMake/Framework/RunCMakeTest.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/Framework/RunCMakeTest.cmake b/Tests/RunCMake/Framework/RunCMakeTest.cmake
index c7e1319c10..965fbf4317 100644
--- a/Tests/RunCMake/Framework/RunCMakeTest.cmake
+++ b/Tests/RunCMake/Framework/RunCMakeTest.cmake
@@ -25,7 +25,7 @@ function(framework_type_test Toolchain Type UseProperty)
set(RunCMake_TEST_NO_CLEAN 1)
set(RunCMake_TEST_OPTIONS "-DCMAKE_TOOLCHAIN_FILE=${RunCMake_SOURCE_DIR}/${Toolchain}.cmake")
list(APPEND RunCMake_TEST_OPTIONS "-DFRAMEWORK_TYPE=${Type}")
- if(NOT ${UseProperty})
+ if(NOT UseProperty)
list(APPEND RunCMake_TEST_OPTIONS "-DCMAKE_FRAMEWORK=YES")
endif()