mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
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:
parent
49744946c6
commit
b49dc4c836
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue