Fix linking with boost python

This commit is contained in:
Las Safin 2021-08-29 15:31:41 +00:00
parent 18c4ebdb86
commit e1975b45ea
No known key found for this signature in database
GPG Key ID: E7FA928911B61ED6
1 changed files with 2 additions and 10 deletions

View File

@ -39,15 +39,6 @@
message("-- Distribution is ${DISTRIBUTION}")
endmacro(check_distribution)
#
# Specific setup for MacOS X.
#
if(WITH_MACPORTS)
set(Boost_PYVER "27")
else()
set(Boost_PYVER "")
endif()
#
# Get the svn revision version and configure a svn.h.in file based on this version
# The include directory name is passed as argument
@ -196,8 +187,9 @@
else(ARGC LESS 1)
foreach(component ${ARGV})
if(${component} STREQUAL "python")
set(components ${components} ${component}27)
else()
set(components ${components} ${component})
set(components ${components} ${component})
endif()
endforeach()