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 | |
| parent | 382bcab9e036418df88f35e3332aa44fdef6669e (diff) | |
fixed Wrapper Build for linux
| -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}) |
