From 9391da0802dafad0ca172eb52431e491f0d199f6 Mon Sep 17 00:00:00 2001
From: Antoine Regimbeau <antoine.regimbeau@c-s.fr>
Date: Wed, 10 Jul 2019 17:22:30 +0200
Subject: [PATCH] Put back "dummy target" as it seems to be the only target
 building packages

---
 Packaging/CMakeLists.txt | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Packaging/CMakeLists.txt b/Packaging/CMakeLists.txt
index 795f9d140e..a8d5c1658b 100644
--- a/Packaging/CMakeLists.txt
+++ b/Packaging/CMakeLists.txt
@@ -221,3 +221,9 @@ if(BUILD_TESTING)
   enable_testing()
   include(testing.cmake)
 endif()
+
+add_custom_target( PACKAGE-OTB
+      COMMAND "${CMAKE_COMMAND}" --build . --target install
+      WORKING_DIRECTORY "${CMAKE_BINARY_DIR}"
+      COMMENT "PACKAGE-OTB"
+      )
\ No newline at end of file
-- 
GitLab