aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authordimdim11 <dimdim11@yandex-team.com>2024-01-25 22:40:09 +0300
committerdimdim11 <dimdim11@yandex-team.com>2024-01-25 23:23:31 +0300
commita87a6225bc70a7ec058857e1a5dc6c423610d249 (patch)
treefb59568abb7e07e721ba89f2fe38ce461add3849 /cmake
parent970ad064d8e3150bb9ecef2927db8c9b76291286 (diff)
downloadydb-a87a6225bc70a7ec058857e1a5dc6c423610d249.tar.gz
Fill ENVIRONMENT for CMake projects from ENV() macroses
Diffstat (limited to 'cmake')
-rw-r--r--cmake/common.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/common.cmake b/cmake/common.cmake
index 0ffe61ad17..f85875ec40 100644
--- a/cmake/common.cmake
+++ b/cmake/common.cmake
@@ -296,13 +296,13 @@ function(set_yunittest_property)
get_property(SPLIT_FACTOR TARGET ${YUNITTEST_ARGS_TEST} PROPERTY SPLIT_FACTOR)
if ((${SPLIT_FACTOR} EQUAL 1) OR (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/run_testpack"))
- set_property(TEST ${YUNITTEST_ARGS_TEST} PROPERTY ${YUNITTEST_ARGS_PROPERTY} ${YUNITTEST_ARGS_UNPARSED_ARGUMENTS})
+ set_property(TEST ${YUNITTEST_ARGS_TEST} PROPERTY ${YUNITTEST_ARGS_PROPERTY} "${YUNITTEST_ARGS_UNPARSED_ARGUMENTS}")
return()
endif()
math(EXPR LastIdx "${SPLIT_FACTOR} - 1")
foreach(Idx RANGE ${LastIdx})
- set_property(TEST ${YUNITTEST_ARGS_TEST}_${Idx} PROPERTY ${YUNITTEST_ARGS_PROPERTY} ${YUNITTEST_ARGS_UNPARSED_ARGUMENTS})
+ set_property(TEST ${YUNITTEST_ARGS_TEST}_${Idx} PROPERTY ${YUNITTEST_ARGS_PROPERTY} "${YUNITTEST_ARGS_UNPARSED_ARGUMENTS}")
endforeach()
endfunction()