From 870b25e95ddf41fed739e3af7db6d37bd8e7a05c Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Thu, 18 Sep 2025 14:54:36 +0200 Subject: [PATCH] Fix: define_property() needs FULL_DOCS define_property() has optional FULL_DOCS in cmake 3.23+, but before it's required. I did not notice when adding this. --- openair1/SIMULATION/tests/CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/openair1/SIMULATION/tests/CMakeLists.txt b/openair1/SIMULATION/tests/CMakeLists.txt index 273142a1d7..9602d6d1f4 100644 --- a/openair1/SIMULATION/tests/CMakeLists.txt +++ b/openair1/SIMULATION/tests/CMakeLists.txt @@ -1,4 +1,6 @@ -define_property(TEST PROPERTY TEST_DESCRIPTION BRIEF_DOCS "A human-readable description of this test") +define_property(TEST PROPERTY TEST_DESCRIPTION + BRIEF_DOCS "A human-readable description of this test" + FULL_DOCS "A human-readable description of this test") # Define a macro to add tests for different physical simulators macro(add_physim_test test_name test_description test_exec) @@ -23,7 +25,9 @@ macro(add_physim_test test_name test_description test_exec) add_dependencies(tests ${test_exec}) endmacro() -define_property(TEST PROPERTY CHECK_COUNT BRIEF_DOCS "helper property to enumerate checks in environment") +define_property(TEST PROPERTY CHECK_COUNT + BRIEF_DOCS "helper property to enumerate checks in environment" + FULL_DOCS "the property counts the number of threshold checks, used to enumerate environment variables given to analyze-timing.sh") function(add_timed_physim_test test_name test_description test_exec) # catch all the arguments past the last expected arqument and store them in the options_list if (NOT TARGET ${test_exec})