diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-05-17 13:40:29 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-05-17 13:40:38 +0200 |
commit | b28e807d94462770765566ab0d879554da1f2b23 (patch) | |
tree | 4c8d60c1b1b52a5c2d4ade4237b5bd7622904a09 /tests | |
parent | f6baadaffdb58ba27d585f67680bd7e6172f4444 (diff) | |
download | libayatana-indicator-b28e807d94462770765566ab0d879554da1f2b23.tar.gz libayatana-indicator-b28e807d94462770765566ab0d879554da1f2b23.tar.bz2 libayatana-indicator-b28e807d94462770765566ab0d879554da1f2b23.zip |
{,**/}CMakeLists.txt: Support builds against GTK+-3.0 with IDO support disabled.
Fixes https://github.com/AyatanaIndicators/libayatana-indicator/issues/37
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 98684fa..a299b65 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -197,7 +197,7 @@ add_custom_command( ) add_test("test-desktop-shortcuts-tester" "test-desktop-shortcuts-tester") -if (FLAVOUR_GTK3) +if (FLAVOUR_GTK3 AND ENABLE_IDO) # test-indicator-ng add_test_executable_by_name(test-indicator-ng) @@ -234,7 +234,7 @@ if (FLAVOUR_GTK3) chmod +x "${CMAKE_CURRENT_BINARY_DIR}/test-indicator-ng-tester" ) add_test("test-indicator-ng-tester" "test-indicator-ng-tester") -endif(FLAVOUR_GTK3) +endif(FLAVOUR_GTK3 AND ENABLE_IDO) # test-loader add_test_executable_by_name(test-loader) @@ -273,7 +273,7 @@ set (ALL_TESTERS "loader-tester" ) -if (FLAVOUR_GTK3) +if (FLAVOUR_GTK3 AND ENABLE_IDO) set (ALL_TESTERS ${ALL_TESTERS} "test-indicator-ng-tester" |