mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-28 01:49:23 -05:00
26caa97057
Remove the requirement that the variable name have a prefix while keeping the suffix requirement. Require that the property name contains an underscore. Update docs and tests accordingly. Fixes: #23340
10 lines
416 B
CMake
10 lines
416 B
CMake
include(RunCMake)
|
|
|
|
run_cmake(define_property)
|
|
run_cmake(define_property-INITIALIZE_FROM_VARIABLE)
|
|
run_cmake(define_property-INITIALIZE_FROM_VARIABLE-invalid_1)
|
|
run_cmake(define_property-INITIALIZE_FROM_VARIABLE-invalid_2)
|
|
run_cmake(define_property-INITIALIZE_FROM_VARIABLE-non_target)
|
|
run_cmake(define_property-INITIALIZE_FROM_VARIABLE-wrong_suffix)
|
|
run_cmake(define_property-INITIALIZE_FROM_VARIABLE-no_underscore)
|