From 89c199b6306c95383b7eb8bd442fa235dee1a376 Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Fri, 9 May 2025 09:46:04 -0400 Subject: [PATCH] build: leave Qt Tests in place do not move them to CMAKE_BUILD_DIR/bin --- src/unittests/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/unittests/CMakeLists.txt b/src/unittests/CMakeLists.txt index 4feb87926..b45e9ecd8 100644 --- a/src/unittests/CMakeLists.txt +++ b/src/unittests/CMakeLists.txt @@ -15,6 +15,8 @@ function(create_test) ) cmake_parse_arguments(m "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN}) + set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}") + if("${m_NAME}" STREQUAL "") message(FATAL_ERROR "create_test, tests require a NAME") endif()