diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8012f3c109746e416690615884edc2b95adcc8db..87286141c0aaaefae48b4dec00a6cfa57d116b7e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -66,8 +66,7 @@ ENDIF(WIN32)
 # ----------------------------------------------------
 ADD_PROJECT_DEPENDENCY(Eigen3 REQUIRED PKG_CONFIG_REQUIRES "eigen3 >= 3.0.5")
 
-SET(BOOST_COMPONENTS python)
-SEARCH_FOR_BOOST()
+SEARCH_FOR_BOOST_PYTHON()
 
 # ----------------------------------------------------
 # --- INCLUDE ----------------------------------------