File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- prefix=@prefix @
2- libdir=@libdir @
1+ libdir=@CMAKE_INSTALL_FULL_LIBDIR @
2+ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR @
33
44Name: BLAS
55Description: FORTRAN reference implementation of BLAS Basic Linear Algebra Subprograms
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ endforeach()
2828endmacro ()
2929
3030append_subdir_files (CBLAS_INCLUDE "include" )
31- install (FILES ${CBLAS_INCLUDE} ${LAPACK_BINARY_DIR} /include/cblas_mangling.h DESTINATION include )
31+ install (FILES ${CBLAS_INCLUDE} ${LAPACK_BINARY_DIR} /include/cblas_mangling.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} )
3232
3333# --------------------------------------------------
3434if (BUILD_TESTING)
Original file line number Diff line number Diff line change 1- prefix=@prefix @
2- libdir=@libdir @
1+ libdir=@CMAKE_INSTALL_FULL_LIBDIR @
2+ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR @
33
44Name: CBLAS
55Description: C Standard Interface to BLAS Basic Linear Algebra Subprograms
66Version: @LAPACK_VERSION@
77URL: http://www.netlib.org/blas/#_cblas
88Libs: -L${libdir} -lcblas
9+ Cflags: -I${includedir}
910Requires.private: blas
Original file line number Diff line number Diff line change @@ -108,12 +108,6 @@ macro(lapack_install_library lib)
108108endmacro ()
109109
110110set (PKG_CONFIG_DIR ${CMAKE_INSTALL_LIBDIR} /pkgconfig)
111- set (prefix ${CMAKE_INSTALL_PREFIX} )
112- if (NOT IS_ABSOLUTE ${CMAKE_INSTALL_LIBDIR} )
113- set (libdir "\$ {prefix}/${CMAKE_INSTALL_LIBDIR} " )
114- else ()
115- set (libdir "${CMAKE_INSTALL_LIBDIR} " )
116- endif ()
117111
118112# --------------------------------------------------
119113# Testing
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ endif()
6767target_link_libraries (lapacke PRIVATE ${LAPACK_LIBRARIES} )
6868
6969lapack_install_library (lapacke )
70- install (FILES ${LAPACKE_INCLUDE} ${LAPACK_BINARY_DIR} /include/lapacke_mangling.h DESTINATION include )
70+ install (FILES ${LAPACKE_INCLUDE} ${LAPACK_BINARY_DIR} /include/lapacke_mangling.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} )
7171
7272if (BUILD_TESTING)
7373 add_subdirectory (example )
Original file line number Diff line number Diff line change 1- prefix=@prefix @
2- libdir=@libdir @
1+ libdir=@CMAKE_INSTALL_FULL_LIBDIR @
2+ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR @
33
44Name: LAPACKE
55Description: C Standard Interface to LAPACK Linear Algebra PACKage
66Version: @LAPACK_VERSION@
77URL: http://www.netlib.org/lapack/#_standard_c_language_apis_for_lapack
88Libs: -L${libdir} -llapacke
9+ Cflags: -I${includedir}
910Requires.private: lapack
Original file line number Diff line number Diff line change 1- prefix=@prefix @
2- libdir=@libdir @
1+ libdir=@CMAKE_INSTALL_FULL_LIBDIR @
2+ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR @
33
44Name: LAPACK
55Description: FORTRAN reference implementation of LAPACK Linear Algebra PACKage
You can’t perform that action at this time.
0 commit comments