Removed unecessary command from CMake file.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
This commit is contained in:
parent
d26c712a99
commit
c21de7bd81
1 changed files with 0 additions and 9 deletions
|
|
@ -49,21 +49,12 @@ if(AVOID_PROTECTED_HACK OR WIN32)
|
||||||
message(STATUS "Avoiding protected hack!")
|
message(STATUS "Avoiding protected hack!")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
#Fix missing variable on UNIX env
|
|
||||||
if(NOT PYTHON_DEBUG_LIBRARIES AND UNIX)
|
|
||||||
set(PYTHON_DEBUG_LIBRARIES "${PYTHON_LIBRARIES}")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(BINDING_NAME PySide)
|
set(BINDING_NAME PySide)
|
||||||
set(BINDING_API_MAJOR_VERSION "0")
|
set(BINDING_API_MAJOR_VERSION "0")
|
||||||
set(BINDING_API_MINOR_VERSION "4")
|
set(BINDING_API_MINOR_VERSION "4")
|
||||||
set(BINDING_API_MICRO_VERSION "1")
|
set(BINDING_API_MICRO_VERSION "1")
|
||||||
set(BINDING_API_VERSION "${BINDING_API_MAJOR_VERSION}.${BINDING_API_MINOR_VERSION}.${BINDING_API_MICRO_VERSION}")
|
set(BINDING_API_VERSION "${BINDING_API_MAJOR_VERSION}.${BINDING_API_MINOR_VERSION}.${BINDING_API_MICRO_VERSION}")
|
||||||
|
|
||||||
if (NOT CMAKE_BUILD_TYPE)
|
|
||||||
set(CMAKE_BUILD_TYPE Release)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
include(${QT_USE_FILE})
|
include(${QT_USE_FILE})
|
||||||
if (${QTVERSION} VERSION_LESS 4.5.0)
|
if (${QTVERSION} VERSION_LESS 4.5.0)
|
||||||
message(FATAL_ERROR "You need Qt4.5, found ${QTVERSION}.")
|
message(FATAL_ERROR "You need Qt4.5, found ${QTVERSION}.")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue