Blob Blame Raw
From 0c9879d8180106f4e8f85d3febc383c5ee36c96d Mon Sep 17 00:00:00 2001
From: Geoffrey Biggs <git@killbots.net>
Date: Wed, 16 Aug 2017 15:00:11 +0900
Subject: [PATCH] Fix #15: new Boost Python library name

---
 python/CMakeLists.txt | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt
index fe4984f..b82a1f0 100644
--- a/python/CMakeLists.txt
+++ b/python/CMakeLists.txt
@@ -32,11 +32,7 @@ else(CMAKE_MAJOR_VERSION EQUAL 2 AND CMAKE_MINOR_VERSION GREATER 5)
 		# For 2.4, assume that if boost is found then boost::python is present
 		OPTION (Boost_USE_MULTITHREAD "Use the multithreaded versions of the Boost libraries" ON)
 		MARK_AS_ADVANCED (Boost_USE_MULTITHREAD)
-		if(Boost_USE_MULTITHREAD)
-			SET (BOOST_LIB_SUFFIX "-mt" CACHE STRING "Boost library name suffix")
-		else(Boost_USE_MULTITHREAD)
-			SET (BOOST_LIB_SUFFIX "" CACHE STRING "Boost library name suffix")
-		endif(Boost_USE_MULTITHREAD)
+		SET (BOOST_LIB_SUFFIX "" CACHE STRING "Boost library name suffix")
 		MARK_AS_ADVANCED (BOOST_LIB_SUFFIX)
 
 		SET (boostPythonLib boost_python${BOOST_LIB_SUFFIX})