Build on Mac again

This commit is contained in:
Frank Osterfeld 2013-01-23 10:27:03 +01:00
parent bb32e4550e
commit f7e03e4531
1 changed files with 4 additions and 4 deletions

View File

@ -39,18 +39,18 @@ if (Qt5Core_FOUND)
else()
if(UNIX AND NOT APPLE)
find_package(Qt4 COMPONENTS QtCore QtDBus REQUIRED)
set(QTDBUS_LIBRARIES ${QT_QTDBUS_LIBRARY})
macro(qt_add_dbus_interface)
qt4_add_dbus_interface(${ARGN})
endmacro()
macro(qt_wrap_cpp)
qt4_wrap_cpp(${ARGN})
endmacro()
set(QTDBUS_LIBRARIES ${QT_QTDBUS_LIBRARY})
else()
find_package(Qt4 COMPONENTS QtCore REQUIRED)
endif()
include_directories(${QT_INCLUDES})
set(QTCORE_LIBRARIES ${QT_QTCORE_LIBRARY})
macro(qt_wrap_cpp)
qt4_wrap_cpp(${ARGN})
endmacro()
endif()