Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win32
mingw32-kdepimlibs4
make-optional.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File make-optional.patch of Package mingw32-kdepimlibs4
--- a/includes/tests/CMakeLists.txt 2016-10-19 14:18:59.781663120 +0000 +++ a/includes/tests/CMakeLists.txt 2016-10-19 14:25:50.944127825 +0000 @@ -28,23 +28,34 @@ endforeach(file) endmacro() +# HACK: akonadi/calendar has a generated header. We need to go up 3 directories level +if(AKONADI_FOUND) + include_directories( + # HACK: akonadi/calendar has a generated header. We need to go up 3 directories level + ${CMAKE_BINARY_DIR}/akonadi/calendar/tests + ${CMAKE_BINARY_DIR}/akonadi + ${CMAKE_BINARY_DIR}/akonadi/contact + ${CMAKE_BINARY_DIR}/akonadi/calendar + ${CMAKE_BINARY_DIR}/akonadi/kcal + ${CMAKE_BINARY_DIR}/akonadi/kmime + ${CMAKE_BINARY_DIR}/akonadi/notes + ${CMAKE_BINARY_DIR}/akonadi/socialutils + ${CMAKE_BINARY_DIR}/kalarmcal + ) +endif() + +if(SASL_FOUND) + include_directories( + ${CMAKE_BINARY_DIR}/kimap + ) +endif() + include_directories( - # HACK: akonadi/calendar has a generated header. We need to go up 3 directories level - ${CMAKE_BINARY_DIR}/akonadi/calendar/tests - ${CMAKE_BINARY_DIR}/akonadi - ${CMAKE_BINARY_DIR}/akonadi/contact - ${CMAKE_BINARY_DIR}/akonadi/calendar - ${CMAKE_BINARY_DIR}/akonadi/kcal - ${CMAKE_BINARY_DIR}/akonadi/kmime - ${CMAKE_BINARY_DIR}/akonadi/notes - ${CMAKE_BINARY_DIR}/akonadi/socialutils ${CMAKE_BINARY_DIR}/kabc - ${CMAKE_BINARY_DIR}/kalarmcal ${CMAKE_BINARY_DIR}/kcal ${CMAKE_BINARY_DIR}/kcalcore ${CMAKE_BINARY_DIR}/kcalutils ${CMAKE_BINARY_DIR}/kholidays - ${CMAKE_BINARY_DIR}/kimap ${CMAKE_BINARY_DIR}/kldap ${CMAKE_BINARY_DIR}/kontactinterface ${CMAKE_BINARY_DIR}/kmbox @@ -60,9 +71,11 @@ ${Boost_INCLUDE_DIR} ) -add_includes( Akonadi ) +if(AKONADI_FOUND) + add_includes( Akonadi ) + add_includes( KAlarmCal ) +endif() add_includes( KABC ) -add_includes( KAlarmCal ) add_includes( KCalCore ) add_includes( KCalUtils ) if (NOT KDEPIM_NO_KCAL) @@ -70,7 +83,10 @@ add_includes( KCal ) endif() add_includes( KHolidays ) -add_includes( KIMAP ) + +if(SASL2_FOUND) + add_includes( KIMAP ) +endif() add_includes( KLDAP ) add_includes( KMime ) add_includes( KontactInterface ) @@ -81,7 +97,9 @@ add_includes( KResources ) endif() add_includes( KTNEF ) -add_includes( Mailtransport ) +if(AKONADI_FOUND) + add_includes( Mailtransport ) +endif() add_includes( Syndication ) add_definitions( -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_KEYWORDS -DQT_NO_CAST_FROM_BYTEARRAY -DQT_STRICT_ITERATORS )
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor