summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2019-10-27 12:28:17 (GMT)
committerCraig Scott <craig.scott@crascit.com>2019-10-27 12:28:17 (GMT)
commit89ad3b395902252e0120d1a3f72f370b20e64e80 (patch)
tree20138a331da47f605a57d8dcb2aba74c831ffcb4 /Tests
parent92780281c2e8a46223b262b152caa9c8329373b1 (diff)
downloadCMake-89ad3b395902252e0120d1a3f72f370b20e64e80.zip
CMake-89ad3b395902252e0120d1a3f72f370b20e64e80.tar.gz
CMake-89ad3b395902252e0120d1a3f72f370b20e64e80.tar.bz2
Tests: Prevent CMP0012 policy warnings in Framework test output
Diffstat (limited to 'Tests')
-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 c7e1319..965fbf4 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()