Browse Source

Tests: Prevent CMP0012 policy warnings in Framework test output

Craig Scott 6 years ago
parent
commit
89ad3b3959
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Tests/RunCMake/Framework/RunCMakeTest.cmake

+ 1 - 1
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()