diff --git a/cmake/multipython/MakePythonWheel.cmake b/cmake/multipython/MakePythonWheel.cmake index e5ab417f83f8ef17a7bb897b7ea333988b94b211..5c3a399330e60bd02007c0157064e7aa42ceb62f 100644 --- a/cmake/multipython/MakePythonWheel.cmake +++ b/cmake/multipython/MakePythonWheel.cmake @@ -17,19 +17,7 @@ function(make_python_wheel) if(WIN32) set(_extra_libs "${BA_Dependencies_WIN32}") else() - set(_extra_libs - ${Boost_LIBRARIES} - ${GSL_LIBRARIES} - ${FFTW3_LIBRARIES} - ${Cerf_LIBRARIES} - ${formfactor_LIBRARIES} - ) - if(BA_TIFF_SUPPORT) - list(APPEND _extra_libs ${TIFF_LIBRARIES}) - endif() - if(BA_MPI) - # TODO: Add MPI libs `MPI_CXX_LIBRARIES`? - endif() + set(_extra_libs "${BA_Dependencies}") endif() # make the Python wheel