Changeset 19 in pacpussensors for trunk/LMOComponent/CMakeLists.txt


Ignore:
Timestamp:
07/31/13 11:58:28 (11 years ago)
Author:
Marek Kurdej
Message:

Update: fixed LMOComponent compilation with Qt5.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMOComponent/CMakeLists.txt

    r17 r19  
    33################################################################################
    44add_definitions( -DLMOCOMPONENT_EXPORTS )
    5 
    6 ################################################################################
    7 # Qt
    8 if(QT4_FOUND)
    9     set(QT_USE_QTXML true)
    10     set(QT_USE_QTNETWORK true)
    11     include(${QT_USE_FILE})
    12 else()
    13     message(ERROR "Qt4 needed")
    14 endif()
    15 
    16 add_definitions(
    17     ${QT_DEFINITIONS}
    18 )
    195
    206################################################################################
     
    4632
    4733set(MOC_FILES
    48     LMOComponent.h
     34    #LMOComponent.h
    4935    ${PLUGIN_H}
    5036)
     
    5541################################################################################
    5642# Call moc, uic
    57 qt4_wrap_cpp(MOC_SRCS
     43qt_wrap_cpp(MOC_SRCS
    5844    ${MOC_FILES}
    5945)
    60 qt4_wrap_ui(UI_SRCS
     46qt_wrap_ui(UI_SRCS
    6147    ${UI_FILES}
    6248)
     
    9985# INSTALL
    10086pacpus_install(${PROJECT_NAME})
    101 
Note: See TracChangeset for help on using the changeset viewer.