Changeset 127 in pacpusframework for branches


Ignore:
Timestamp:
Jul 30, 2013, 11:54:20 AM (11 years ago)
Author:
Marek Kurdej
Message:

Update: PacpusDependencies.cmake, added a message to change CMAKE_PREFIX_PATH if needed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0-beta1/cmake/PacpusDependencies.cmake

    r120 r127  
    2424
    2525if(QT5)
    26 
     26message(STATUS "Set CMake variable 'CMAKE_PREFIX_PATH' to the path like '%QT_BIN%/../lib/cmake'")
    2727# ========================================
    28 # All the Pacpus' modules depends from Qt5
     28# All the Pacpus modules depend on Qt5
    2929# However, since each module requires specific Qt's modules, they have to include their own QT_USE_FILE
    3030# ========================================
     
    4545
    4646set(QT_DEFINITIONS
    47 ${Qt5Widgets_DEFINITIONS}
    48 ${Qt5Core_DEFINITIONS}
    49 ${Qt5Xml_DEFINITIONS}
    50 ${Qt5Gui_DEFINITIONS}
    51 ${Qt5OpenGL_DEFINITIONS}
    52 ${Qt5Network_DEFINITIONS}
    53 ${Qt5SerialPort_DEFINITIONS}
     47    ${Qt5Widgets_DEFINITIONS}
     48    ${Qt5Core_DEFINITIONS}
     49    ${Qt5Xml_DEFINITIONS}
     50    ${Qt5Gui_DEFINITIONS}
     51    ${Qt5OpenGL_DEFINITIONS}
     52    ${Qt5Network_DEFINITIONS}
     53    ${Qt5SerialPort_DEFINITIONS}
    5454)
    5555set(QT_INCLUDE_DIR
    56 ${Qt5Widgets_INCLUDE_DIRS}
    57 ${Qt5Core_INCLUDE_DIRS}
    58 ${Qt5Xml_INCLUDE_DIRS}
    59 ${Qt5Gui_INCLUDE_DIRS}
    60 ${Qt5OpenGL_INCLUDE_DIRS}
    61 ${Qt5Network_INCLUDE_DIRS}
    62 ${Qt5SerialPort_INCLUDE_DIRS}
     56    ${Qt5Widgets_INCLUDE_DIRS}
     57    ${Qt5Core_INCLUDE_DIRS}
     58    ${Qt5Xml_INCLUDE_DIRS}
     59    ${Qt5Gui_INCLUDE_DIRS}
     60    ${Qt5OpenGL_INCLUDE_DIRS}
     61    ${Qt5Network_INCLUDE_DIRS}
     62    ${Qt5SerialPort_INCLUDE_DIRS}
    6363)
    6464
    6565set(QT_LIBRARIES
    66 ${Qt5Widgets_LIBRARIES}
    67 ${Qt5Core_LIBRARIES}
    68 ${Qt5Xml_LIBRARIES}
    69 ${Qt5Gui_LIBRARIES}
    70 ${Qt5OpenGL_LIBRARIES}
    71 ${Qt5Network_LIBRARIES}
    72 ${Qt5SerialPort_LIBRARIES}
     66    ${Qt5Widgets_LIBRARIES}
     67    ${Qt5Core_LIBRARIES}
     68    ${Qt5Xml_LIBRARIES}
     69    ${Qt5Gui_LIBRARIES}
     70    ${Qt5OpenGL_LIBRARIES}
     71    ${Qt5Network_LIBRARIES}
     72    ${Qt5SerialPort_LIBRARIES}
    7373)
    7474
Note: See TracChangeset for help on using the changeset viewer.