aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPino Toscano <pino@kde.org>2017-06-04 18:44:37 +0200
committerPino Toscano <pino@kde.org>2017-06-04 18:44:37 +0200
commitf27caf014809ca9e885c852483b8041919652f7a (patch)
tree1623219d59992e849f6122496de7d7fab39c9cff
parent0663867fd54cf2114e308839fa0d33ca4b0ed350 (diff)
downloadextra-cmake-modules-f27caf014809ca9e885c852483b8041919652f7a.tar.gz
extra-cmake-modules-f27caf014809ca9e885c852483b8041919652f7a.tar.bz2
tests: hopefully fix KDEFetchTranslations on Windows
use ecm_mark_nongui_executable to mark the dummy executable as non-gui, so its linking works
-rw-r--r--tests/KDEFetchTranslations/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/KDEFetchTranslations/CMakeLists.txt b/tests/KDEFetchTranslations/CMakeLists.txt
index 6501b820..f7cee347 100644
--- a/tests/KDEFetchTranslations/CMakeLists.txt
+++ b/tests/KDEFetchTranslations/CMakeLists.txt
@@ -21,6 +21,7 @@ if (NOT ${name} STREQUAL "extra-cmake-modules")
message(FATAL_ERROR "Wrong repository name: ${name}, should be 'extra-cmake-modules'")
endif()
add_executable(dummy ../ExecuteKDEModules/main.c)
+ecm_mark_nongui_executable(dummy)
if(NOT TARGET fetch-translations)
message(FATAL_ERROR "should have a fetch-translations target")