mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-03 04:03:23 +03:00
Tests: Prevent CMP0012 policy warnings in Framework test output
This commit is contained in:
1 parent
92780281c2
commit
89ad3b3959
1 file changed
+1
-1
@@ -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()
|
||||
|
||||
|
||||
Reference in new issue
Block a user