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()