From 36c217d16fe4be0991057a8f08fde30c818a165c Mon Sep 17 00:00:00 2001 From: Edoardo Pasca Date: Mon, 29 Jan 2018 16:14:16 +0000 Subject: fixed Wrapper Build for linux --- Wrappers/Python/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Wrappers/Python') 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}) -- cgit v1.2.3