Fix error message when Qt/KF module is not found
This commit is contained in:
parent
88310af665
commit
f52c7b8214
|
@ -75,7 +75,7 @@ macro (use_qt_module)
|
|||
find_package("${ARGS_PREFIX}${ARGS_MODULE}" "${META_QT_VERSION}" REQUIRED)
|
||||
foreach (TARGET ${ARGS_TARGETS})
|
||||
if (NOT TARGET "${TARGET}")
|
||||
message(FATAL_ERROR "The ${ARGS_PREFIX}${ARGS_MODULE} does not provide the target ${TARGET}.")
|
||||
message(FATAL_ERROR "The CMake module ${ARGS_PREFIX}${ARGS_MODULE} does not provide the target ${TARGET}.")
|
||||
endif ()
|
||||
if ("${TARGET}" IN_LIST "${ARGS_LIBRARIES_VARIABLE}")
|
||||
continue()
|
||||
|
|
Loading…
Reference in New Issue