From e1975b45eaa0a5394f56c0103f78efeb8f794d9d Mon Sep 17 00:00:00 2001 From: Las Safin Date: Sun, 29 Aug 2021 15:31:41 +0000 Subject: [PATCH] Fix linking with boost python --- bootstrap/cmake_modules/FindBootstrap.cmake | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/bootstrap/cmake_modules/FindBootstrap.cmake b/bootstrap/cmake_modules/FindBootstrap.cmake index 332a8ae2..bf7ac00c 100644 --- a/bootstrap/cmake_modules/FindBootstrap.cmake +++ b/bootstrap/cmake_modules/FindBootstrap.cmake @@ -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()