From 42a5485d18b7a2ff07c1f59957a4246e7334a4d4 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 20 Apr 2021 22:10:53 +0200 Subject: example/CMakeLists.txt: The example/ folder requires the library to have been built. Fix parallel build issue with -DDISABLED_TESTS=OFF option. --- example/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.3