PySide/libpyside/PySideConfig.cmake.in
Renato Araujo Oliveira Filho b8fcead629 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>
2011-01-12 17:27:42 -03:00

5 lines
233 B
CMake

if (NOT PYTHON_BASENAME)
message(STATUS "Using default python: @PYTHON_BASENAME@")
SET(PYTHON_BASENAME @PYTHON_BASENAME@)
endif()
include(@LIB_INSTALL_DIR@/cmake/PySide-@pyside_VERSION@/PySideConfig-${PYTHON_BASENAME}.cmake)