File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,4 +67,9 @@ if(UNIX)
6767 ${CMAKE_CURRENT_BINARY_DIR } /libze_loader.pc
6868 @ONLY )
6969 install (FILES "${CMAKE_CURRENT_BINARY_DIR } /libze_loader.pc" DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR} /pkgconfig" COMPONENT level-zero-devel)
70+ configure_file (
71+ ${CMAKE_CURRENT_SOURCE_DIR } /level-zero.pc.in
72+ ${CMAKE_CURRENT_BINARY_DIR } /level-zero.pc
73+ @ONLY )
74+ install (FILES "${CMAKE_CURRENT_BINARY_DIR } /level-zero.pc" DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR} /pkgconfig" COMPONENT level-zero-devel)
7075endif ()
Original file line number Diff line number Diff line change 1+ prefix = @CMAKE_INSTALL_PREFIX@
2+ includedir = ${ prefix} /include
3+ libdir = ${ prefix} /lib
4+
5+
6+ Name : Level Zero
7+ Description : Level Zero
8+ URL : https://github.com/oneapi-src/level-zero
9+ Version : @PROJECT_VERSION_MAJOR@.@PROJECT_VERSION_MINOR@.@PROJECT_VERSION_PATCH@
10+ Requires : libze_loader
11+ Libs : -L ${ libdir}
12+ CFlags : -I ${ includedir} /level_zero
You can’t perform that action at this time.
0 commit comments