Use FIND_PACKAGE() to find QtUiTools instead of just hardcode the path
This commit is contained in:
parent
290a805c6b
commit
4b37109f27
1 changed files with 3 additions and 2 deletions
|
@ -64,9 +64,10 @@ ADD_DEFINITIONS( -DVERSION=${DISPLAYED_VERSION} )
|
|||
|
||||
SET( telldus-center_TARGET TelldusCenter )
|
||||
|
||||
IF (APPLE) #### Mac OS X ####
|
||||
IF (APPLE) #### Mac OS X ####
|
||||
FIND_PACKAGE(Qt4 COMPONENTS QtUiTools REQUIRED)
|
||||
LIST(APPEND telldus-center_LIBRARIES
|
||||
/usr/lib/libQtUiTools.a
|
||||
${QT_QTUITOOLS_LIBRARY}
|
||||
)
|
||||
INCLUDE_DIRECTORIES(
|
||||
/usr/include/QtUiTools
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue