From c9e694bed8fa4049fe6f41da0f1b6a3f770c64a8 Mon Sep 17 00:00:00 2001 From: "Troy D. Straszheim" Date: Wed, 8 Apr 2009 11:54:20 +0000 Subject: [PATCH] Build python modules without leading 'lib' and not single threaded [SVN r52249] --- CMakeLists.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 97120ef0..e057f349 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,8 +61,16 @@ if (PYTHON_LIBRARIES) MODULE LINK_LIBS ${PYTHON_LIBRARIES} DEPENDS boost_python + NO_STATIC + NO_SINGLE_THREADED ) - + + set_target_properties(${MODULE_NAME}-mt-shared + PROPERTIES + PREFIX "" + OUTPUT_NAME ${MODULE_NAME} + ) + endmacro(boost_python_extension) #-- ################################################################################