| 1 | |
| 2 | |
| 3 | @@ -123,6 +123,9 @@
|
| 4 | endif()
|
| 5 | endforeach()
|
| 6 |
|
| 7 | +configure_file( libclc.pc.in libclc.pc @ONLY )
|
| 8 | +install( FILES ${CMAKE_CURRENT_BINARY_DIR}/libclc.pc DESTINATION "${CMAKE_INSTALL_DATADIR}/pkgconfig" )
|
| 9 | +
|
| 10 | # Determine the clang target triple.
|
| 11 | set(clang_triple ${LIBCLC_TARGET})
|
| 12 |
|
| 13 | |
| 14 | |
| 15 | @@ -0,0 +1,6 @@
|
| 16 | +libexecdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_DATADIR@/clc
|
| 17 | +
|
| 18 | +Name: libclc
|
| 19 | +Description: Library requirements of the OpenCL C programming language
|
| 20 | +Version: @PROJECT_VERSION@
|
| 21 | +Libs: -L${libexecdir}
|