aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPino Toscano <pino@kde.org>2017-06-04 19:05:10 +0200
committerPino Toscano <pino@kde.org>2017-06-04 19:05:10 +0200
commit5ec56f07e738ac0fba10c915496fd44bdc4494c4 (patch)
treec18fd28807b4fc8f2f4793dd6356d02889294948
parent730d4a38c8c95cb3ea61a8f25402b18fa57c0037 (diff)
downloadextra-cmake-modules-5ec56f07e738ac0fba10c915496fd44bdc4494c4.tar.gz
extra-cmake-modules-5ec56f07e738ac0fba10c915496fd44bdc4494c4.tar.bz2
tests: fix output directory for KDEFetchTranslations
hopefully the dummy executable will be where expected (on Windows)
-rw-r--r--tests/KDEFetchTranslations/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/KDEFetchTranslations/CMakeLists.txt b/tests/KDEFetchTranslations/CMakeLists.txt
index 78b7f482..6aca9b00 100644
--- a/tests/KDEFetchTranslations/CMakeLists.txt
+++ b/tests/KDEFetchTranslations/CMakeLists.txt
@@ -24,6 +24,8 @@ endif()
add_executable(dummy ../ExecuteKDEModules/main.c)
ecm_mark_nongui_executable(dummy)
+set_target_properties(dummy PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
+
if(NOT TARGET fetch-translations)
message(FATAL_ERROR "should have a fetch-translations target")
endif()