File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -153,6 +153,12 @@ install(DIRECTORY ${INCLUDE_DIR}/xflens
153153 PATTERN filter .pm EXCLUDE
154154 PATTERN CMakeLists.txt EXCLUDE )
155155
156+ configure_file (${PROJECT_NAME} .pc.in
157+ "${CMAKE_CURRENT_BINARY_DIR} /${PROJECT_NAME} .pc"
158+ @ONLY)
159+ install (FILES "${CMAKE_CURRENT_BINARY_DIR} /${PROJECT_NAME} .pc"
160+ DESTINATION "${CMAKE_INSTALL_DATADIR} /pkgconfig/" )
161+
156162set (XTENSOR_BLAS_CMAKECONFIG_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR} /cmake/${PROJECT_NAME} " CACHE
157163 STRING "install path for xtensor-blasConfig.cmake" )
158164
Original file line number Diff line number Diff line change 1+ prefix=@CMAKE_INSTALL_PREFIX@
2+ includedir=${prefix}/include
3+
4+ Name: xtensor-blas
5+ Description: An extension to the xtensor library, offering bindings to BLAS and LAPACK libraries.
6+ Version: @xtensor-blas_VERSION@
7+ Cflags: -I${includedir}
You can’t perform that action at this time.
0 commit comments