11 lines
197 B
CMake
11 lines
197 B
CMake
include_guard(GLOBAL)
|
|
|
|
macro(set_first_non_empty RESULT)
|
|
foreach(_arg ${ARGN})
|
|
if (NOT "${_arg}" STREQUAL "")
|
|
set(${RESULT} ${_arg})
|
|
break()
|
|
endif()
|
|
endforeach()
|
|
endmacro()
|