Issue #25: Warning, when path to Qt is not set

This commit is contained in:
Jakub Melka 2022-09-01 17:59:29 +02:00
parent 591dd15fa7
commit 0219139cf9
1 changed files with 4 additions and 0 deletions

View File

@ -88,6 +88,10 @@ if(PDF4QT_INSTALL_DEPENDENCIES)
PATTERN "*.dylib" PATTERN "*.dylib"
) )
if("${PDF4QT_QT_ROOT}" STREQUAL "")
message(WARNING "Set variable PDF4QT_QT_ROOT to Qt6 root directory")
endif()
if(PDF4QT_INSTALL_QT_DEPENDENCIES) if(PDF4QT_INSTALL_QT_DEPENDENCIES)
install(DIRECTORY ${PDF4QT_QT_ROOT}/bin/ install(DIRECTORY ${PDF4QT_QT_ROOT}/bin/
RUNTIME DESTINATION bin/ RUNTIME DESTINATION bin/