aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-02-16 11:50:12 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-02-16 11:50:12 +0100
commit420dcd2d99a452583b66f14a7da71dd133b34c2f (patch)
treef5edac7b851a38c311c1020bb22cca9473746172 /example
parent3bec2d1519b31791d0c098e4ab2d6ae9d693ab53 (diff)
parent0ea872f094646c165aebfc78cadf36fc924e73a5 (diff)
downloadlibayatana-appindicator-420dcd2d99a452583b66f14a7da71dd133b34c2f.tar.gz
libayatana-appindicator-420dcd2d99a452583b66f14a7da71dd133b34c2f.tar.bz2
libayatana-appindicator-420dcd2d99a452583b66f14a7da71dd133b34c2f.zip
Merge branch 'tari01-pr/cleanup-compile-flags'
Attributes GH PR #50: https://github.com/AyatanaIndicators/libayatana-appindicator/pull/50
Diffstat (limited to 'example')
-rw-r--r--example/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt
index 3a6cd53..a337cdc 100644
--- a/example/CMakeLists.txt
+++ b/example/CMakeLists.txt
@@ -31,7 +31,7 @@ if (FLAVOUR_GTK3)
# simple-client-vala
- set_source_files_properties("${CMAKE_CURRENT_BINARY_DIR}/simple-client-vala.c" PROPERTIES COMPILE_FLAGS "${COMPILE_FLAGS} -include ${CMAKE_SOURCE_DIR}/src/app-indicator.h")
+ set_source_files_properties("${CMAKE_CURRENT_BINARY_DIR}/simple-client-vala.c" PROPERTIES COMPILE_FLAGS " -include ${CMAKE_SOURCE_DIR}/src/app-indicator.h")
add_executable("simple-client-vala" "${CMAKE_CURRENT_BINARY_DIR}/simple-client-vala.c")
target_include_directories("simple-client-vala" PUBLIC ${PROJECT_DEPS_INCLUDE_DIRS})
target_link_libraries("simple-client-vala" "${PROJECT_DEPS_LIBRARIES} -l${ayatana_appindicator_gtkver} -L${CMAKE_BINARY_DIR}/src")
@@ -41,7 +41,6 @@ endif()
# simple-client
-set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/simple-client.c" PROPERTIES COMPILE_FLAGS ${COMPILE_FLAGS})
add_executable("simple-client" "${CMAKE_CURRENT_SOURCE_DIR}/simple-client.c")
target_compile_definitions("simple-client" PUBLIC LOCAL_ICON="${CMAKE_CURRENT_SOURCE_DIR}/simple-client-test-icon.png")
target_include_directories("simple-client" PUBLIC ${PROJECT_DEPS_INCLUDE_DIRS})