diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-09-21 23:56:03 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-09-21 23:56:03 +0200 |
commit | 0c689d5662beef6b90a0104ab3933058f23ce7f9 (patch) | |
tree | 1b203e7b677d78fabf431ce986cc09ff0b0ecd5c | |
parent | f22f67c8d9e80571f7019cf669e93fd5b40eecee (diff) | |
download | ayatana-indicator-printers-0c689d5662beef6b90a0104ab3933058f23ce7f9.tar.gz ayatana-indicator-printers-0c689d5662beef6b90a0104ab3933058f23ce7f9.tar.bz2 ayatana-indicator-printers-0c689d5662beef6b90a0104ab3933058f23ce7f9.zip |
CMake: Typo fix in target name.
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/CMakeLists.txt | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a55e47a..892b0e9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,7 +61,7 @@ if (ENABLE_TESTS) add_subdirectory (test) if (ENABLE_COVERAGE) find_package (CoverageReport) - ENABLE_COVERAGE_REPORT (TARGETS "ayatanaindicatorprinterssservice" "ayatana-indicator-printers-service" TESTS "mock-cups-notifier" FILTER /usr/include ${CMAKE_BINARY_DIR}/*) + ENABLE_COVERAGE_REPORT (TARGETS "ayatanaindicatorprintersservice" "ayatana-indicator-printers-service" TESTS "mock-cups-notifier" FILTER /usr/include ${CMAKE_BINARY_DIR}/*) endif () endif () diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 44e276a..d0fdbd1 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -3,8 +3,8 @@ include (GdbusCodegen) add_gdbus_codegen_with_namespace (CUPS_NOTIFIER cups-notifier org.cups.cupsd Cups "${CMAKE_CURRENT_SOURCE_DIR}/org.cups.cupsd.Notifier.xml") -# libayatanaindicatorprinterssservice.a -add_library (ayatanaindicatorprinterssservice STATIC +# libayatanaindicatorprintersservice.a +add_library (ayatanaindicatorprintersservice STATIC indicator-printers-service.h indicator-printers-service.c indicator-printer-state-notifier.c @@ -13,10 +13,10 @@ add_library (ayatanaindicatorprinterssservice STATIC spawn-printer-settings.h dbus-names.h ${CUPS_NOTIFIER}) -target_include_directories (ayatanaindicatorprinterssservice PUBLIC ${SERVICE_INCLUDE_DIRS} ${CMAKE_CURRENT_BINARY_DIR}) -target_compile_definitions (ayatanaindicatorprinterssservice PUBLIC GETTEXT_PACKAGE="${GETTEXT_PACKAGE}" LOCALEDIR="${CMAKE_INSTALL_FULL_LOCALEDIR}") +target_include_directories (ayatanaindicatorprintersservice PUBLIC ${SERVICE_INCLUDE_DIRS} ${CMAKE_CURRENT_BINARY_DIR}) +target_compile_definitions (ayatanaindicatorprintersservice PUBLIC GETTEXT_PACKAGE="${GETTEXT_PACKAGE}" LOCALEDIR="${CMAKE_INSTALL_FULL_LOCALEDIR}") # ayatana-indicator-printers-service add_executable (ayatana-indicator-printers-service main.c) -target_link_libraries (ayatana-indicator-printers-service ayatanaindicatorprinterssservice ${SERVICE_LIBRARIES}) +target_link_libraries (ayatana-indicator-printers-service ayatanaindicatorprintersservice ${SERVICE_LIBRARIES}) install (TARGETS ayatana-indicator-printers-service RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_LIBEXECDIR}/${CMAKE_PROJECT_NAME}) |