diff options
-rw-r--r-- | libk8055/CMakeLists.txt | 2 | ||||
-rw-r--r-- | libk8055/k8055++.pc.in | 10 | ||||
-rw-r--r-- | libk8055/k8055.pc.in | 2 |
3 files changed, 13 insertions, 1 deletions
diff --git a/libk8055/CMakeLists.txt b/libk8055/CMakeLists.txt index 708ee96..7110bc4 100644 --- a/libk8055/CMakeLists.txt +++ b/libk8055/CMakeLists.txt @@ -42,9 +42,11 @@ TARGET_LINK_LIBRARIES(k8055cmd ADD_DEPENDENCIES(k8055cmd k8055) CONFIGURE_FILE(k8055.pc.in k8055.pc @ONLY) +CONFIGURE_FILE(k8055++.pc.in k8055++.pc @ONLY) INSTALL(TARGETS k8055cmd RUNTIME DESTINATION bin BUNDLE DESTINATION bin ) INSTALL(FILES k8055cmd.1.gz DESTINATION man/man1/ ) INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/k8055.pc DESTINATION lib/pkgconfig ) +INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/k8055++.pc DESTINATION lib/pkgconfig ) diff --git a/libk8055/k8055++.pc.in b/libk8055/k8055++.pc.in new file mode 100644 index 0000000..faa5f3d --- /dev/null +++ b/libk8055/k8055++.pc.in @@ -0,0 +1,10 @@ +prefix=@CMAKE_INSTALL_PREFIX@ +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: k8055++ +Description: Velleman k8055 USB Experiment Interface Board C++ interface +Version: @VERSION@ +Libs: -L${libdir} -lk8055++ +Cflags: -I${includedir} diff --git a/libk8055/k8055.pc.in b/libk8055/k8055.pc.in index 5c5ce08..e2dfcf5 100644 --- a/libk8055/k8055.pc.in +++ b/libk8055/k8055.pc.in @@ -4,7 +4,7 @@ libdir=${exec_prefix}/lib includedir=${prefix}/include Name: k8055 -Description: Velleman k8055 USB Experiment Interface Board driver +Description: Velleman k8055 USB Experiment Interface Board interface Version: @VERSION@ Libs: -L${libdir} -lk8055 Cflags: -I${includedir} |