)
if(USE_XBLAS)
- target_link_libraries(lapack ${XBLAS_LIBRARY})
+ target_link_libraries(lapack PRIVATE ${XBLAS_LIBRARY})
endif()
-target_link_libraries(lapack ${BLAS_LIBRARIES})
+target_link_libraries(lapack PRIVATE ${BLAS_LIBRARIES})
lapack_install_library(lapack)
macro(add_eig_executable name)
add_executable(${name} ${ARGN})
- target_link_libraries(${name} tmglib ${LAPACK_LIBRARIES})
+ target_link_libraries(${name} tmglib ${LAPACK_LIBRARIES} ${BLAS_LIBRARIES})
endmacro()
if(BUILD_SINGLE)
macro(add_lin_executable name)
add_executable(${name} ${ARGN})
- target_link_libraries(${name} tmglib ${LAPACK_LIBRARIES})
+ target_link_libraries(${name} tmglib ${LAPACK_LIBRARIES} ${BLAS_LIBRARIES})
endmacro()
if(BUILD_SINGLE)
Version: @LAPACK_VERSION@
URL: http://www.netlib.org/lapack/
Libs: -L${libdir} -llapack
-Requires: blas
+Requires.private: blas