Use python base name as library prefix.

Use the same CMAKE_BUILD_TYPE as shiboken if none was specified.
Append SHIBOKEN_PYTHON_BASENAME in the library suffix.

Fix bug #509.

Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
          Lauro Moura <lauro.neto@openbossa.org>
This commit is contained in:
Renato Araujo Oliveira Filho 2011-01-11 17:58:52 -03:00 • committed by Hugo Parente Lima
commit 7e667036d5
4 changed files with 19 additions and 11 deletions

View file

@ -56,7 +56,7 @@ else()
endif()
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release)
set(CMAKE_BUILD_TYPE ${SHIBOKEN_BUILD_TYPE})
endif()
set(BINDING_NAME PySide)