This commit is contained in:
2022-10-08 22:31:13 +03:00
parent 7bb178b24d
commit cbb4c4cfb6
7 changed files with 8 additions and 8 deletions

View File

@ -5,7 +5,7 @@ macro(myx_skip_external_target NAME)
get_target_property(__type ${NAME} TYPE)
if(__type STREQUAL "INTERFACE_LIBRARY")
get_target_property(__sources ${NAME} INTERFACE_SOURCES)
foreach(iter ${_sources})
foreach(iter ${__sources})
string(FIND ${iter} ${CMAKE_BINARY_DIR} __pos)
if(__pos EQUAL 0)
unset(__type)