Build on Mac again
This commit is contained in:
parent
bb32e4550e
commit
f7e03e4531
|
@ -39,18 +39,18 @@ if (Qt5Core_FOUND)
|
||||||
else()
|
else()
|
||||||
if(UNIX AND NOT APPLE)
|
if(UNIX AND NOT APPLE)
|
||||||
find_package(Qt4 COMPONENTS QtCore QtDBus REQUIRED)
|
find_package(Qt4 COMPONENTS QtCore QtDBus REQUIRED)
|
||||||
|
set(QTDBUS_LIBRARIES ${QT_QTDBUS_LIBRARY})
|
||||||
macro(qt_add_dbus_interface)
|
macro(qt_add_dbus_interface)
|
||||||
qt4_add_dbus_interface(${ARGN})
|
qt4_add_dbus_interface(${ARGN})
|
||||||
endmacro()
|
endmacro()
|
||||||
macro(qt_wrap_cpp)
|
|
||||||
qt4_wrap_cpp(${ARGN})
|
|
||||||
endmacro()
|
|
||||||
set(QTDBUS_LIBRARIES ${QT_QTDBUS_LIBRARY})
|
|
||||||
else()
|
else()
|
||||||
find_package(Qt4 COMPONENTS QtCore REQUIRED)
|
find_package(Qt4 COMPONENTS QtCore REQUIRED)
|
||||||
endif()
|
endif()
|
||||||
include_directories(${QT_INCLUDES})
|
include_directories(${QT_INCLUDES})
|
||||||
set(QTCORE_LIBRARIES ${QT_QTCORE_LIBRARY})
|
set(QTCORE_LIBRARIES ${QT_QTCORE_LIBRARY})
|
||||||
|
macro(qt_wrap_cpp)
|
||||||
|
qt4_wrap_cpp(${ARGN})
|
||||||
|
endmacro()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue