FindQAD multiple add target fix
This commit is contained in:
@@ -101,6 +101,7 @@ foreach(_Q ${_QAD_LIBS})
|
|||||||
set(_target QAD::${_ITN_${_Q}})
|
set(_target QAD::${_ITN_${_Q}})
|
||||||
string(REPLACE ":" "_" _target_str "${_target}")
|
string(REPLACE ":" "_" _target_str "${_target}")
|
||||||
foreach(_v ${_QT_VERSIONS_})
|
foreach(_v ${_QT_VERSIONS_})
|
||||||
|
if(NOT TARGET ${_target}${_v})
|
||||||
set(_link_list)
|
set(_link_list)
|
||||||
foreach(_l ${_ITLL_${_Q}})
|
foreach(_l ${_ITLL_${_Q}})
|
||||||
list(APPEND _link_list ${_l}${_v})
|
list(APPEND _link_list ${_l}${_v})
|
||||||
@@ -116,6 +117,7 @@ foreach(_Q ${_QAD_LIBS})
|
|||||||
endif()
|
endif()
|
||||||
#message(STATUS "add imported ${_target}${_v}")
|
#message(STATUS "add imported ${_target}${_v}")
|
||||||
#message(STATUS "add MULTILIB MULTILIB_${_target_str}_SUFFIX_Qt${_v} ${_v}")
|
#message(STATUS "add MULTILIB MULTILIB_${_target_str}_SUFFIX_Qt${_v} ${_v}")
|
||||||
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
list(APPEND QT_MULTILIB_LIST ${_target})
|
list(APPEND QT_MULTILIB_LIST ${_target})
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|||||||
Reference in New Issue
Block a user