diff options
author | Edoardo Pasca <edo.paskino@gmail.com> | 2018-01-29 16:14:16 +0000 |
---|---|---|
committer | Edoardo Pasca <edo.paskino@gmail.com> | 2018-01-29 16:14:16 +0000 |
commit | 36c217d16fe4be0991057a8f08fde30c818a165c (patch) | |
tree | fda88aac60dd030e87a0ffa2ef424d051ffb0ba2 /Wrappers/Python | |
parent | 5330533f4184c0c5d6cb3b9ae323b5e912e37fa7 (diff) | |
download | regularization-36c217d16fe4be0991057a8f08fde30c818a165c.tar.gz regularization-36c217d16fe4be0991057a8f08fde30c818a165c.tar.bz2 regularization-36c217d16fe4be0991057a8f08fde30c818a165c.tar.xz regularization-36c217d16fe4be0991057a8f08fde30c818a165c.zip |
fixed Wrapper Build for linux
Diffstat (limited to 'Wrappers/Python')
-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}) |