diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2024-07-03 16:33:36 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2024-07-03 16:33:36 +0200 |
commit | 0be5f03bd3d35c4e9b1af8a25b7bf9b9d0d3eae5 (patch) | |
tree | a75b60bf95923effdd7142523df3671f36d36666 /src | |
parent | fded0d3a1106dd3aa9a76d0cf4a0fb5bda732ac5 (diff) | |
parent | 8b4fc71da62cc9b719537c682c44fb4c719507db (diff) | |
download | libayatana-indicator-0be5f03bd3d35c4e9b1af8a25b7bf9b9d0d3eae5.tar.gz libayatana-indicator-0be5f03bd3d35c4e9b1af8a25b7bf9b9d0d3eae5.tar.bz2 libayatana-indicator-0be5f03bd3d35c4e9b1af8a25b7bf9b9d0d3eae5.zip |
Merge branch 'barracuda156-apple'
Attributes GH PR #76: https://github.com/AyatanaIndicators/libayatana-indicator/pull/76
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index aa6b9a2..400f91a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -139,7 +139,9 @@ target_compile_definitions("${ayatana_indicator_gtkver}" PUBLIC DG_LOG_DOMAIN="l target_include_directories("${ayatana_indicator_gtkver}" PUBLIC ${PROJECT_DEPS_INCLUDE_DIRS}) target_include_directories("${ayatana_indicator_gtkver}" PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) target_include_directories("${ayatana_indicator_gtkver}" PUBLIC ${CMAKE_CURRENT_BINARY_DIR}) -target_link_options("${ayatana_indicator_gtkver}" PRIVATE "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/indicator.symbols") +if(NOT APPLE) + target_link_options("${ayatana_indicator_gtkver}" PRIVATE "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/indicator.symbols") +endif() target_link_libraries("${ayatana_indicator_gtkver}" ${PROJECT_DEPS_LIBRARIES} ${EXTRA_LIBS}) add_dependencies("${ayatana_indicator_gtkver}" "src-generated") install(TARGETS "${ayatana_indicator_gtkver}" LIBRARY DESTINATION "${CMAKE_INSTALL_FULL_LIBDIR}") |