aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-06-08 22:26:17 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-06-09 08:38:04 +0200
commit4881802611a17375185743893c94ac30530f581e (patch)
treebe1a69fea0756680baf9fee83c35fb595909935e
parente2a30acb35edc258742af3c673b195ab7bfafeb1 (diff)
downloadayatana-ido-4881802611a17375185743893c94ac30530f581e.tar.gz
ayatana-ido-4881802611a17375185743893c94ac30530f581e.tar.bz2
ayatana-ido-4881802611a17375185743893c94ac30530f581e.zip
src/CMakeLists.txt: Add missing target link libraries
fixes https://github.com/AyatanaIndicators/ayatana-ido/issues/39
-rw-r--r--src/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 9894f90..d0f023e 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -98,6 +98,7 @@ add_custom_command(
set_source_files_properties(${SOURCES} PROPERTIES COMPILE_FLAGS ${COMPILE_FLAGS})
add_library("ayatana-ido3-0.4" SHARED ${SOURCES})
set_target_properties("ayatana-ido3-0.4" PROPERTIES VERSION 0.0.0 SOVERSION 0)
+target_link_libraries("ayatana-ido3-0.4" ${PROJECT_DEPS_LIBRARIES})
target_include_directories("ayatana-ido3-0.4" PUBLIC ${PROJECT_DEPS_INCLUDE_DIRS})
target_include_directories("ayatana-ido3-0.4" PUBLIC ${CMAKE_CURRENT_BINARY_DIR})
target_include_directories("ayatana-ido3-0.4" PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})