From 33139c97835b86023cd9c4b506d0caa69b2bbf70 Mon Sep 17 00:00:00 2001 From: asl Date: Fri, 7 Oct 2016 14:20:19 +0300 Subject: [PATCH] patch for generated files creation --- src/HYDROPy/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/HYDROPy/CMakeLists.txt b/src/HYDROPy/CMakeLists.txt index 51954d54..18ceff0c 100644 --- a/src/HYDROPy/CMakeLists.txt +++ b/src/HYDROPy/CMakeLists.txt @@ -88,6 +88,12 @@ SET(_add_SOURCES ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPyHYDROData_BathymetryAltitudePoint.cc ) +foreach( add_file ${_add_SOURCES}) + if(NOT EXISTS ${add_file}) + file(WRITE ${add_file} "") + endif() +endforeach() + # --- sources --- # sources / sip wrappings -- 2.39.2