From 2f232fd4d467980a9dfeaddaf02fccbd398d3825 Mon Sep 17 00:00:00 2001 From: Matthew Broadway Date: Thu, 7 Mar 2019 15:58:05 +0000 Subject: [PATCH] removed redundant call to find_package --- cmake/GtsamCythonWrap.cmake | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cmake/GtsamCythonWrap.cmake b/cmake/GtsamCythonWrap.cmake index 374e00c46..6366c1508 100644 --- a/cmake/GtsamCythonWrap.cmake +++ b/cmake/GtsamCythonWrap.cmake @@ -44,11 +44,6 @@ endfunction() function(set_up_required_cython_packages) # Set up building of cython module - if(GTSAM_PYTHON_VERSION STREQUAL "Default") - find_package(PythonLibs REQUIRED) - else() - find_package(PythonLibs ${GTSAM_PYTHON_VERSION} EXACT REQUIRED) - endif() include_directories(${PYTHON_INCLUDE_DIRS}) find_package(NumPy REQUIRED) include_directories(${NUMPY_INCLUDE_DIRS})