kio: fix Strigi build-time checks

the module for Strigi was removed in 5cf0eafa90
since it provides CMake config file so the check should be for camel-case
not upper-case variable name

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2020-01-30 11:54:07 +00:00
parent 49744946c6
commit b49dc4c836
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
project(kio)
if(NOT STRIGI_FOUND)
if(NOT Strigi_FOUND)
set(KIO_NO_STRIGI TRUE)
endif()
@ -45,9 +45,9 @@ add_subdirectory(misc)
if(ENABLE_TESTING)
add_subdirectory(tests)
endif()
if(STRIGI_FOUND)
if(NOT KIO_NO_STRIGI)
add_subdirectory(kio/dummyanalyzers)
endif(STRIGI_FOUND)
endif()
set(kiocore_STAT_SRCS
kio/accessmanager.cpp

View file

@ -67,7 +67,7 @@ target_link_libraries(kfstest ${KDE4_KIO_LIBS})
########### kfilemetainfotest ###############
if(STRIGI_FOUND)
if(NOT KIO_NO_STRIGI)
kde4_add_test(kio-kfilemetainfotest kfilemetainfotest.cpp)
target_link_libraries(kio-kfilemetainfotest ${KDE4_KIO_LIBS} ${QT_QTTEST_LIBRARY})
endif()