only change the install prefix on WIN32

This commit is contained in:
uncor3
2025-11-08 15:24:24 +00:00
parent 5685f1ade0
commit 7b99a26962
+2 -1
View File
@@ -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()