From e6718c25ded67bee5a3f7e442ec8a05d587fa669 Mon Sep 17 00:00:00 2001
From: Mattia Basaglia <mattia.basaglia@gmail.com>
Date: Wed, 29 Jul 2015 09:50:29 +0200
Subject: [PATCH] Custom target for quake3 tools

---
 tools/quake3/CMakeLists.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/quake3/CMakeLists.txt b/tools/quake3/CMakeLists.txt
index 7f7539e3..a963d825 100644
--- a/tools/quake3/CMakeLists.txt
+++ b/tools/quake3/CMakeLists.txt
@@ -171,6 +171,9 @@ target_link_libraries(q3data
     mathlib
 )
 
+add_custom_target(quake3)
+add_dependencies(quake3 q3map2 q3data)
+
 if (UNIX)
     target_link_libraries(q3map2 pthread m)
     target_link_libraries(q3data m)
-- 
2.39.5