<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <div class="moz-cite-prefix">Am 26.06.19 um 15:53 schrieb Torsten
      Robitzki:<br>
    </div>
    <blockquote type="cite"
      cite="mid:1AA76FE5-D78D-4E44-BDA4-AC8193721518@Robitzki.de">
      <pre class="moz-quote-pre" wrap="">A third issue that I have is, that changes to the CMakeLists.txt files in the Project are not reflected by the super build. If I make a change to one of the CMake files under ${CMAKE_CURRENT_LIST_DIR}/source, I usually have to delete the whole build folder and start from scratch with the build. Is there an other way to force the super build to recognize the changes? (Note: ${CMAKE_CURRENT_LIST_DIR}/source is not added as subdirectory to the top level (super build) CMakeLists.txt).
</pre>
    </blockquote>
    <p>I can't help you with your other issues, but I believe the
      solution to this problem is to specify "BUILD_ALWAYS TRUE" in your
      ExternalProject_Add. From the documentation for
      ExternalProject_Add:<br>
    </p>
    <p>Enabling this option forces the build step to always be run. This
      can be
      the easiest way to robustly ensure that the external project’s own
      build
      dependencies are evaluated rather than relying on the default
      success timestamp-based method. This option is not normally needed
      unless
      developers are expected to modify something the external project’s
      build
      depends on in a way that is not detectable via the step target
      dependencies (e.g. <code class="docutils literal notranslate"><span
          class="pre">SOURCE_DIR</span></code> is used without a
      download method and
      developers might modify the sources in <code class="docutils
        literal notranslate"><span class="pre">SOURCE_DIR</span></code>).</p>
    --
    <div class="moz-signature">
      <div style="width:480px; text-align: left; font-family: Arial,
        Helvetica, sans-serif;">
        <p style="color: #062d64; font-size: 14px; text-align: left;
          font-family: Arial, Helvetica, sans-serif;"><b>
            Dr. Eric Dönges
          </b><br>
          Senior Software Engineer
        </p>
        <p style="color: #062d64; font-size: 12px; text-align: left;
          font-family: Arial, Helvetica, sans-serif;">MVTec Software
          GmbH | Arnulfstr. 205 | 80634 Munich | Germany<br>
          <a style="font-size: 12px; font-family: Arial, Helvetica,
            sans-serif; color: #062d64;" href="mailto:doenges@mvtec.com">doenges@mvtec.com</a>
          | Tel: +49 89 457 695-0 | <a style="font-size: 12px;
            font-family: Arial, Helvetica, sans-serif; color: #062d64;"
            href="http://www.mvtec.com">www.mvtec.com</a>
        </p>
        <p style="color: #062d64; font-size: 12px; text-align: left;
          font-family: Arial, Helvetica, sans-serif;"><img
src="https://mvtec.com/fileadmin/Redaktion/newsletter/mail-signature/newsletter-icon.png"
            valign="bottom" width="16" height="16"> <a style="font-size:
            12px; font-family: Arial, Helvetica, sans-serif; color:
            #062d64; font-weight: bold;"
            href="http://www.mvtec.com/newsletter">Sign up</a> for our
          MVTec Newsletter!</p>
        <p style="margin: 0px; color: #666; font-size: 12px; text-align:
          left; font-family: Arial, Helvetica, sans-serif;">Geschäftsführer:
          Dr. Wolfgang Eckstein, Dr. Olaf Munkelt<br>
          Amtsgericht München HRB 114695</p>
        <p style="margin: 0px; color: #666; font-size: 12px; text-align:
          left; font-family: Arial, Helvetica, sans-serif;"> </p>
        <img
src="https://www.mvtec.com/fileadmin/Redaktion/newsletter/mail-signature/mvtec-logo-line.png"
          alt="MVTec Software GmbH Logo"></div>
    </div>
  </body>
</html>