mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-24 18:35:37 +00:00
Fix autotest build if poppler is not installed
This commit is contained in:
parent
7eb72911f8
commit
1ab8dd7c62
|
@ -12,6 +12,11 @@ if(Poppler_Qt5_FOUND)
|
|||
TEST_NAME "parttest"
|
||||
LINK_LIBRARIES Qt5::Widgets Qt5::Test Qt5::Xml okularcore okularpart
|
||||
)
|
||||
|
||||
ecm_add_test(visibilitytest.cpp
|
||||
TEST_NAME "visibilitytest"
|
||||
LINK_LIBRARIES Qt5::Widgets Qt5::Test okularcore
|
||||
)
|
||||
endif()
|
||||
|
||||
ecm_add_test(documenttest.cpp
|
||||
|
@ -64,11 +69,6 @@ ecm_add_test(calculatetexttest.cpp
|
|||
LINK_LIBRARIES Qt5::Widgets Qt5::Test okularcore
|
||||
)
|
||||
|
||||
ecm_add_test(visibilitytest.cpp
|
||||
TEST_NAME "visibilitytest"
|
||||
LINK_LIBRARIES Qt5::Widgets Qt5::Test okularcore
|
||||
)
|
||||
|
||||
if(KF5Activities_FOUND)
|
||||
ecm_add_test(mainshelltest.cpp ../shell/okular_main.cpp ../shell/shellutils.cpp ../shell/shell.cpp
|
||||
TEST_NAME "mainshelltest"
|
||||
|
|
Loading…
Reference in a new issue