From 74aebffd9baf9eb6af8ca4b7bd796892712d9af0 Mon Sep 17 00:00:00 2001 From: luisangelsm Date: Mon, 30 Mar 2026 16:41:54 +0200 Subject: [PATCH] Don't use CMAKE_RUNTIME_OUTPUT_DIRECTORY for Linux Windows and macos installer scripts are still used and they rely on that folder --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 82d1f757..aa4e6da7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -147,7 +147,9 @@ qt_standard_project_setup() include(PdfBackend) # Output directory -set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin") +if(WIN32 OR APPLE) + set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin") +endif() # Build number define if(BUILD_NUMBER)