2.0.33
This commit is contained in:
@@ -47,7 +47,7 @@ function(myx_uncrustify TARGET_NAME)
|
||||
|
||||
# Динамически сгенерированные файлы исключаются
|
||||
get_target_property(__target_type ${TARGET_NAME} TYPE)
|
||||
if(${__target_type} STREQUAL "INTERFACE_LIBRARY")
|
||||
if((${__target_type} STREQUAL "INTERFACE_LIBRARY") AND (${CMAKE_VERSION} VERSION_LESS "3.17.0"))
|
||||
get_target_property(__s1 ${TARGET_NAME} INTERFACE_SOURCES)
|
||||
if(__s1)
|
||||
list(APPEND __all_sources ${__s1})
|
||||
|
Reference in New Issue
Block a user