aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-07-03 16:17:19 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-07-03 16:17:19 +0200
commitfb1a124cde2e75300fdcaf1cd9378cd7db1544bf (patch)
tree349cc362c298f96581febaf1dd93dc74d31d1d9b
parent238c8b02718fa5b4af95ede72beeed762094f4cc (diff)
parentf8da9004a0ace40d09ed9d59ac26c143648eebf9 (diff)
downloadlibayatana-appindicator-fb1a124cde2e75300fdcaf1cd9378cd7db1544bf.tar.gz
libayatana-appindicator-fb1a124cde2e75300fdcaf1cd9378cd7db1544bf.tar.bz2
libayatana-appindicator-fb1a124cde2e75300fdcaf1cd9378cd7db1544bf.zip
Merge branch 'barracuda156-apple'
Attributes GH PR #78: https://github.com/AyatanaIndicators/libayatana-appindicator/pull/78
-rw-r--r--src/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 2f4f65c..3e5f591 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -125,7 +125,9 @@ target_include_directories("${ayatana_appindicator_gtkver}" PUBLIC ${PROJECT_DEP
target_include_directories("${ayatana_appindicator_gtkver}" PUBLIC ${CMAKE_CURRENT_BINARY_DIR})
target_include_directories("${ayatana_appindicator_gtkver}" PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries("${ayatana_appindicator_gtkver}" ${PROJECT_DEPS_LIBRARIES})
-target_link_options ("${ayatana_appindicator_gtkver}" PRIVATE "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/app-indicator.symbols")
+if(NOT APPLE)
+ target_link_options ("${ayatana_appindicator_gtkver}" PRIVATE "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/app-indicator.symbols")
+endif()
install(TARGETS "${ayatana_appindicator_gtkver}" LIBRARY DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}")
# AyatanaAppIndicator{,3}-0.1.gir