aboutsummaryrefslogtreecommitdiff
path: root/example/CMakeLists.txt
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-04-20 22:10:53 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-04-21 20:57:03 +0200
commit42a5485d18b7a2ff07c1f59957a4246e7334a4d4 (patch)
tree57d8a9aa93822454569e93be78739e9181a89ebd /example/CMakeLists.txt
parent65f7c219078ecf708d52c813b37fc537490c872a (diff)
downloadayatana-ido-42a5485d18b7a2ff07c1f59957a4246e7334a4d4.tar.gz
ayatana-ido-42a5485d18b7a2ff07c1f59957a4246e7334a4d4.tar.bz2
ayatana-ido-42a5485d18b7a2ff07c1f59957a4246e7334a4d4.zip
example/CMakeLists.txt: The example/ folder requires the library to have been built. Fix parallel build issue with -DDISABLED_TESTS=OFF option.
Diffstat (limited to 'example/CMakeLists.txt')
-rw-r--r--example/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt
index fed6750..52f7bde 100644
--- a/example/CMakeLists.txt
+++ b/example/CMakeLists.txt
@@ -5,3 +5,4 @@ add_executable("menus" menus.c)
target_include_directories("menus" PUBLIC ${PROJECT_DEPS_INCLUDE_DIRS})
target_link_libraries("menus" ${PROJECT_DEPS_LIBRARIES} "-L${CMAKE_BINARY_DIR}/src" -layatana-ido3-0.4)
target_include_directories("menus" PUBLIC "${CMAKE_SOURCE_DIR}/src")
+add_dependencies("menus" ayatana-ido3-0.4)