Changeset 9afb2c


Ignore:
Timestamp:
01/16/12 16:54:32 (4 months ago)
Author:
Micke Prag <micke.prag@…>
Branches:
('master', 'deebf2045e7119c339412580f37a1e653f7d5715')('controller-upgrade', '00f95d22e12d96ef089e0902ef62ae8ce841dc6f')
Children:
a182ba2111f3fa020edcce1f5e9192dd0ce25c56
Parents:
bdb766e7cf6b608954dc6a9dd0dfed7bd529ca9a
git-author:
Micke Prag <micke.prag@telldus.se>2012-01-16 16:53:29+01:00
git-committer:
Micke Prag <micke.prag@telldus.se>2012-01-16 16:54:32+01:00
Message:

Fix for building qt-components on Mac OS X. Master branch.

Location:
telldus-gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • telldus-gui/3rdparty/qt-components-desktop.cmake

    r1e650c r9afb2c  
    3636QT4_AUTOMOC ( ${SRCS} ) 
    3737 
     38SET(LIBRARIES ${QT_LIBRARIES}) 
     39 
     40IF (APPLE) 
     41        FIND_LIBRARY(CARBON_LIBRARY Carbon) 
     42        LIST(APPEND LIBRARIES ${CARBON_LIBRARY}) 
     43ENDIF () 
     44 
    3845ADD_LIBRARY(styleplugin SHARED 
    3946        ${SRCS} 
    4047        ${MOC_SRCS} 
    4148) 
    42 TARGET_LINK_LIBRARIES( styleplugin ${QT_LIBRARIES} ) 
    43  
    44  
     49TARGET_LINK_LIBRARIES( styleplugin ${LIBRARIES} ) 
    4550 
    4651IF (WIN32) 
  • telldus-gui/Plugins/QML/CMakeLists.txt

    r1e650c r9afb2c  
    2727IF (WIN32) 
    2828        SET(QT_COMPONENTS_OUTPUT_DIR "${LIBRARY_OUTPUT_PATH}/${CMAKE_CFG_INTDIR}/Plugins/declarative") 
     29ELSEIF (APPLE) 
     30        SET(QT_COMPONENTS_OUTPUT_DIR "${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/TelldusCenter.app/Contents/Plugins/declarative") 
    2931ELSE() 
    3032        SET(QT_COMPONENTS_OUTPUT_DIR "${CMAKE_BINARY_DIR}/TelldusCenter/Plugins/declarative") 
Note: See TracChangeset for help on using the changeset viewer.