mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-15 02:24:50 +02:00
qdbusxml2cpp is only found if QtDBus is explicity "found"
This commit is contained in:
@@ -117,6 +117,9 @@ if( NOT BUILD_WITH_QT4 )
|
|||||||
find_package(Qt5Widgets QUIET)
|
find_package(Qt5Widgets QUIET)
|
||||||
message(STATUS "Found Qt5! Be aware that Qt5-support is still experimental and not officially supported!")
|
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)
|
macro(qt_wrap_ui)
|
||||||
qt5_wrap_ui(${ARGN})
|
qt5_wrap_ui(${ARGN})
|
||||||
endmacro()
|
endmacro()
|
||||||
@@ -351,10 +354,10 @@ ADD_SUBDIRECTORY( thirdparty )
|
|||||||
ADD_SUBDIRECTORY( src )
|
ADD_SUBDIRECTORY( src )
|
||||||
ADD_SUBDIRECTORY( admin )
|
ADD_SUBDIRECTORY( admin )
|
||||||
|
|
||||||
if( BUILD_TESTS )
|
#if( BUILD_TESTS )
|
||||||
enable_testing()
|
# enable_testing()
|
||||||
add_subdirectory( tests )
|
# add_subdirectory( tests )
|
||||||
endif()
|
#endif()
|
||||||
|
|
||||||
|
|
||||||
# Add all targets to the build-tree export set
|
# Add all targets to the build-tree export set
|
||||||
|
Reference in New Issue
Block a user