diff options
| author | Pino Toscano <pino@kde.org> | 2017-06-04 18:44:37 +0200 | 
|---|---|---|
| committer | Pino Toscano <pino@kde.org> | 2017-06-04 18:44:37 +0200 | 
| commit | f27caf014809ca9e885c852483b8041919652f7a (patch) | |
| tree | 1623219d59992e849f6122496de7d7fab39c9cff | |
| parent | 0663867fd54cf2114e308839fa0d33ca4b0ed350 (diff) | |
| download | extra-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.txt | 1 | 
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") | 
