From aa5e8c844d249397b1ef35f983fa0addeb2a96f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Offringa?= <offringa@gmail.com>
Date: Mon, 3 Sep 2018 14:45:07 +0200
Subject: [PATCH] Always install aoflagger-bin

---
 src/CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 69d94230..eadc3a24 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -320,12 +320,13 @@ add_test(aotest aotest)
 add_custom_target(check COMMAND aotest DEPENDS aotest)
 
 if(GTKMM_FOUND)
-	install (TARGETS rfigui aoqplot aoflagger-bin DESTINATION bin)
+	install (TARGETS rfigui aoqplot DESTINATION bin)
 endif(GTKMM_FOUND)
 
 if(BOOST_ASIO_H_FOUND AND SIGCXX_FOUND AND GTKMM_FOUND)
 	install (TARGETS aoquality aoremoteclient DESTINATION bin)
 endif(BOOST_ASIO_H_FOUND AND SIGCXX_FOUND AND GTKMM_FOUND)
 
+install (TARGETS aoflagger-bin DESTINATION bin)
 install (TARGETS aoflagger DESTINATION lib) 
 install (FILES interface/aoflagger.h DESTINATION include)
-- 
GitLab