Commit 388fc33
committed
Tweak test in ExternalProject_Message to avoid warning related to CMP0054
This commit will avoid warning like this one:
//--------------------
CMake Warning (dev) at CMake/ctkMacroCheckExternalProjectDependency.cmake:345 (if):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like "SB_SECOND_PASS" will no longer be dereferenced when
the policy is set to NEW. Since the policy is not set the OLD behavior
will be used.
Call Stack (most recent call first):
CMake/ctkMacroCheckExternalProjectDependency.cmake:596 (ExternalProject_Message)
CMakeExternals/Log4Qt.cmake:9 (ExternalProject_Include_Dependencies)
CMake/ctkMacroCheckExternalProjectDependency.cmake:568 (include)
CMake/ctkMacroCheckExternalProjectDependency.cmake:614 (ExternalProject_Include_Dependencies)
CMake/ctkBlockCheckDependencies.cmake:132 (ExternalProject_Include_Dependencies)
CMakeLists.txt:970 (include)
//--------------------1 parent 318b969 commit 388fc33
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
361 | | - | |
| 361 | + | |
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
| |||
0 commit comments