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-30 12:03:59 +0000 |
commit | a5979934c10aee7beeae49f254c57adbbb2fa13c (patch) | |
tree | fda88aac60dd030e87a0ffa2ef424d051ffb0ba2 /Wrappers | |
parent | 382bcab9e036418df88f35e3332aa44fdef6669e (diff) | |
download | regularization-a5979934c10aee7beeae49f254c57adbbb2fa13c.tar.gz regularization-a5979934c10aee7beeae49f254c57adbbb2fa13c.tar.bz2 regularization-a5979934c10aee7beeae49f254c57adbbb2fa13c.tar.xz regularization-a5979934c10aee7beeae49f254c57adbbb2fa13c.zip |
fixed Wrapper Build for linux
Diffstat (limited to 'Wrappers')
-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}) |