Changeset 27 in pacpussensors for trunk/StdDbtPlayerComponents


Ignore:
Timestamp:
Oct 23, 2013, 9:15:35 AM (11 years ago)
Author:
Marek Kurdej
Message:

Minor: CMakeLists fixes (Qt4/Qt5 compatibility).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/StdDbtPlayerComponents/CMakeLists.txt

    r16 r27  
    33################################################################################
    44add_definitions( -DSTDDBTPLAYERCOMPONENTS_EXPORTS )
    5 
    6 # ========================================
    7 # Configure qt4
    8 # ========================================
    9 if(QT4_FOUND)
    10   set(QT_USE_QTXML true)
    11   set(QT_USE_QTNETWORK true)
    12   include(${QT_USE_FILE})
    13 else()
    14   message(ERROR "Qt4 needed")
    15 endif()
    16 
    17 # ========================================
    18 # Compiler definitions
    19 # ========================================
    20 add_definitions(
    21   ${QT_DEFINITIONS}
    22 )
    235
    246# ========================================
     
    7860# Call MOC
    7961# ========================================
    80 qt4_wrap_cpp(
     62qt_wrap_cpp(
    8163    PROJECT_MOC_SRCS
    8264    ${FILES_TO_MOC}
    8365)
    8466
    85 qt4_wrap_ui(
     67qt_wrap_ui(
    8668    PROJECT_UI_SRCS
    8769    ${UI_FILES}
     
    127109# ========================================
    128110pacpus_install(${PROJECT_NAME})
    129 
Note: See TracChangeset for help on using the changeset viewer.