diff options
-rw-r--r-- | data/CMakeLists.txt | 7 | ||||
-rw-r--r-- | data/libayatana-ido3-0.4.pc.in | 11 |
2 files changed, 18 insertions, 0 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt new file mode 100644 index 0000000..d423718 --- /dev/null +++ b/data/CMakeLists.txt @@ -0,0 +1,7 @@ +# Create the .pc + +configure_file("${CMAKE_CURRENT_SOURCE_DIR}/libayatana-ido3-0.4.pc.in" "${CMAKE_CURRENT_BINARY_DIR}/libayatana-ido3-0.4.pc") + +# Install + +install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libayatana-ido3-0.4.pc" DESTINATION "${LIB_DIR_PATH}/pkgconfig/") diff --git a/data/libayatana-ido3-0.4.pc.in b/data/libayatana-ido3-0.4.pc.in new file mode 100644 index 0000000..b1da305 --- /dev/null +++ b/data/libayatana-ido3-0.4.pc.in @@ -0,0 +1,11 @@ +prefix=@CMAKE_INSTALL_PREFIX@ +exec_prefix=${prefix} +libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ +includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ + +Name: libayatana-ido3 +Description: Ayatana Indicator Display Objects +Version: @PROJECT_VERSION@ +Libs: -L${libdir} -layatana-ido3-0.4 +Cflags: -I${includedir}/libayatana-ido3-0.4 +Requires: gtk+-3.0 |