0c44a65
From 0c9879d8180106f4e8f85d3febc383c5ee36c96d Mon Sep 17 00:00:00 2001
0c44a65
From: Geoffrey Biggs <git@killbots.net>
0c44a65
Date: Wed, 16 Aug 2017 15:00:11 +0900
0c44a65
Subject: [PATCH] Fix #15: new Boost Python library name
0c44a65
0c44a65
---
0c44a65
 python/CMakeLists.txt | 6 +-----
0c44a65
 1 file changed, 1 insertion(+), 5 deletions(-)
0c44a65
0c44a65
diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt
0c44a65
index fe4984f..b82a1f0 100644
0c44a65
--- a/python/CMakeLists.txt
0c44a65
+++ b/python/CMakeLists.txt
0c44a65
@@ -32,11 +32,7 @@ else(CMAKE_MAJOR_VERSION EQUAL 2 AND CMAKE_MINOR_VERSION GREATER 5)
0c44a65
 		# For 2.4, assume that if boost is found then boost::python is present
0c44a65
 		OPTION (Boost_USE_MULTITHREAD "Use the multithreaded versions of the Boost libraries" ON)
0c44a65
 		MARK_AS_ADVANCED (Boost_USE_MULTITHREAD)
0c44a65
-		if(Boost_USE_MULTITHREAD)
0c44a65
-			SET (BOOST_LIB_SUFFIX "-mt" CACHE STRING "Boost library name suffix")
0c44a65
-		else(Boost_USE_MULTITHREAD)
0c44a65
-			SET (BOOST_LIB_SUFFIX "" CACHE STRING "Boost library name suffix")
0c44a65
-		endif(Boost_USE_MULTITHREAD)
0c44a65
+		SET (BOOST_LIB_SUFFIX "" CACHE STRING "Boost library name suffix")
0c44a65
 		MARK_AS_ADVANCED (BOOST_LIB_SUFFIX)
0c44a65
 
0c44a65
 		SET (boostPythonLib boost_python${BOOST_LIB_SUFFIX})