From 13637e934737239861c490339ef733dbb42417a6 Mon Sep 17 00:00:00 2001
From: jmkerloch <jmkerloch@silicom.fr>
Date: Thu, 17 Dec 2020 08:35:45 +0000
Subject: [PATCH] correction of docker image use for sirius solver found

---
 .github/workflows/dockerHub.yml | 4 ++++
 CMakeLists.txt                  | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/.github/workflows/dockerHub.yml b/.github/workflows/dockerHub.yml
index e9aee5c89..a11e20b9c 100644
--- a/.github/workflows/dockerHub.yml
+++ b/.github/workflows/dockerHub.yml
@@ -34,6 +34,10 @@ jobs:
       run: |
           python3 -m pip install --upgrade pip
           pip3 install -r src/src_python/requirements.txt
+
+    - name: Init submodule
+      run: |
+          git submodule update --init --recursive
     
     - name: Configure
       run: |
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e2170fdd6..f84c2a631 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -154,6 +154,9 @@ if(NOT ortools_FOUND)
 	message (FATAL_ERROR "OR-Tools not found. OR-Tools can be compiled with -DBUILD_ortools=ON or you can specify previous dependency install directory with -DCMAKE_PREFIX_PATH or -DDEPS_INSTALL_DIR")
 endif()
 
+if(POLICY CMP0074)
+	cmake_policy(SET CMP0074 NEW)
+endif()
 
 find_package(sirius_solver REQUIRED)