summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-qt.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-10-29 08:09:42 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-10-29 08:25:57 +0000
commite868cdf022890fee56fd5c4608190d196362b36d (patch)
tree863e1d39586a376df0f7a152904a317c91721663 /cmake/opentrack-qt.cmake
parent94747abe17bd669fbbca6ce99977410a4548aee1 (diff)
cmake: add include guards
Diffstat (limited to 'cmake/opentrack-qt.cmake')
-rw-r--r--cmake/opentrack-qt.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/opentrack-qt.cmake b/cmake/opentrack-qt.cmake
index 8d975712..b5aecdc2 100644
--- a/cmake/opentrack-qt.cmake
+++ b/cmake/opentrack-qt.cmake
@@ -1,3 +1,4 @@
+include_guard(GLOBAL)
find_package(Qt5 REQUIRED COMPONENTS Core Network Widgets LinguistTools Gui QUIET)
if(WIN32)
find_package(Qt5Gui REQUIRED COMPONENTS QWindowsIntegrationPlugin)