summaryrefslogtreecommitdiff
path: root/examples/triage/CMakeLists.txt
diff options
context:
space:
mode:
authorRusty Wagner <rusty.wagner@gmail.com>2021-02-19 19:25:53 -0500
committerRusty Wagner <rusty.wagner@gmail.com>2021-03-16 20:40:13 -0400
commite43222c3e8da9f42d0d95207fa94335165a27d9d (patch)
treee8f64b54dafd7c75f48c95bd7c7e62fed0c904a2 /examples/triage/CMakeLists.txt
parenta327eb06173d0aa814460842e5280a6bf1edddf1 (diff)
Compatibility with Qt 6
Diffstat (limited to 'examples/triage/CMakeLists.txt')
-rw-r--r--examples/triage/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/triage/CMakeLists.txt b/examples/triage/CMakeLists.txt
index 4b55bc8f..05dd03ce 100644
--- a/examples/triage/CMakeLists.txt
+++ b/examples/triage/CMakeLists.txt
@@ -1,8 +1,12 @@
cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
+option(QT6 "Target Qt 6" OFF)
+
project(triage)
-set(CMAKE_OSX_ARCHITECTURES x86_64)
+if(NOT QT6)
+ set(CMAKE_OSX_ARCHITECTURES x86_64)
+endif()
file(GLOB SOURCES
*.cpp