2011-11-01 13:59:23 +00:00
|
|
|
|
|
|
|
get_filename_component(_qt5_corelib_install_prefix ${CMAKE_CURRENT_LIST_DIR}/$${CMAKE_RELATIVE_INSTALL_DIR} ABSOLUTE)
|
|
|
|
|
|
|
|
# Required by default:
|
2011-12-12 11:57:17 +00:00
|
|
|
set(QT_QMAKE_EXECUTABLE \"${_qt5_corelib_install_prefix}/$$CMAKE_BIN_DIR/qmake$$CMAKE_BIN_SUFFIX\")
|
|
|
|
set(QT_MOC_EXECUTABLE \"${_qt5_corelib_install_prefix}/$$CMAKE_BIN_DIR/moc$$CMAKE_BIN_SUFFIX\")
|
|
|
|
set(QT_RCC_EXECUTABLE \"${_qt5_corelib_install_prefix}/$$CMAKE_BIN_DIR/rcc$$CMAKE_BIN_SUFFIX\")
|
2012-02-07 09:57:12 +00:00
|
|
|
|
|
|
|
list(APPEND Qt5Core_INCLUDE_DIRS \"${_qt5_corelib_install_prefix}/mkspecs/default\")
|
2012-02-07 18:07:49 +00:00
|
|
|
|
|
|
|
if (NOT \"$${CMAKE_ADD_FPIE_FLAGS}\" STREQUAL \"\")
|
2012-02-21 11:06:54 +00:00
|
|
|
set(Qt5Core_EXECUTABLE_COMPILE_FLAGS "-fPIE")
|
2012-02-07 18:07:49 +00:00
|
|
|
endif()
|
2012-02-10 15:40:12 +00:00
|
|
|
|
2012-02-15 21:12:41 +00:00
|
|
|
if (NOT \"$$QT_NAMESPACE\" STREQUAL \"\")
|
|
|
|
list(APPEND Qt5Core_DEFINITIONS -DQT_NAMESPACE=$$QT_NAMESPACE)
|
|
|
|
list(APPEND Qt5Core_COMPILE_DEFINITIONS QT_NAMESPACE=$$QT_NAMESPACE)
|
|
|
|
endif()
|