diff options
| -rw-r--r-- | Wrappers/Python/CMakeLists.txt | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/Wrappers/Python/CMakeLists.txt b/Wrappers/Python/CMakeLists.txt index ab4f400..3f95660 100644 --- a/Wrappers/Python/CMakeLists.txt +++ b/Wrappers/Python/CMakeLists.txt @@ -72,11 +72,11 @@ else()    # we need to get rid of the lib at the beginning    list(GET Boost_LIBRARIES 0 place )    get_filename_component(place2 ${place} NAME_WE ) -  string(REGEX REPLACE "^lib.*" "\\1" $BOOST_PYTHON_LIB "${place2}") +  string(REGEX REPLACE "^lib(.*)" "\\1" BOOST_PYTHON_LIB "${place2}")    list(GET Boost_LIBRARIES 1 place )    get_filename_component(place2 ${place} NAME_WE ) -  string(REGEX REPLACE "^lib.*" "\\1" $BOOST_NUMPY_LIB "${place2}") +  string(REGEX REPLACE "^lib(.*)" "\\1" BOOST_NUMPY_LIB "${place2}")  endif()  message ("found " ${BOOST_PYTHON_LIB}) | 
