Fix linking with boost python
This commit is contained in:
parent
18c4ebdb86
commit
e1975b45ea
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue