1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-14 01:54:07 +02:00

qdbusxml2cpp is only found if QtDBus is explicity "found"

This commit is contained in:
Uwe L. Korn
2013-07-26 19:44:40 +02:00
parent a10f04e504
commit ccc1c260f1

View File

@@ -117,6 +117,9 @@ if( NOT BUILD_WITH_QT4 )
find_package(Qt5Widgets QUIET)
message(STATUS "Found Qt5! Be aware that Qt5-support is still experimental and not officially supported!")
# We need this to find the paths to qdbusxml2cpp and co
find_package(Qt5DBus REQUIRED)
macro(qt_wrap_ui)
qt5_wrap_ui(${ARGN})
endmacro()
@@ -351,10 +354,10 @@ ADD_SUBDIRECTORY( thirdparty )
ADD_SUBDIRECTORY( src )
ADD_SUBDIRECTORY( admin )
if( BUILD_TESTS )
enable_testing()
add_subdirectory( tests )
endif()
#if( BUILD_TESTS )
# enable_testing()
# add_subdirectory( tests )
#endif()
# Add all targets to the build-tree export set