From 7b99a269627ae35a533df1fa93746467563874a6 Mon Sep 17 00:00:00 2001 From: uncor3 Date: Sat, 8 Nov 2025 15:24:24 +0000 Subject: [PATCH] only change the install prefix on WIN32 --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 43e4bc1..9b35c96 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -349,9 +349,10 @@ endif() include(GNUInstallDirs) +if (WIN32) # Set the installation directory to be within the build folder set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/dist") - +endif() if(QT_VERSION_MAJOR EQUAL 6) qt_finalize_executable(iDescriptor) endif()