From 2c64c8972dc2f992ac9bbdde0cee4839115c37bb Mon Sep 17 00:00:00 2001 From: TheBloke Date: Fri, 14 Apr 2023 17:33:54 +0100 Subject: [PATCH] Remove Qt dir --- CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f443f72b..22e7ec42 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,10 +1,9 @@ cmake_minimum_required(VERSION 3.16) if(APPLE) + # Build a Universal binary on macOS + # This requires that the found Qt library is compiled as Universal binaries. set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64" CACHE STRING "" FORCE) - # Specify location of Universal QT installation - # can be removed if default install is Universal (won't be the case with Homebrew installed QT) - set(Qt6_DIR "~/Qt/6.5.0/macos/lib/cmake/Qt6") endif() project(gpt4all VERSION 0.1.0 LANGUAGES CXX)