<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Found the error, thank you anyway  -  you guys are allways a good
      way to get help about cmake, i'm starting to understand cmake
      slowly but it's getting easier and easier, cmake is a great build
      system.</p>
    <p><br>
    </p>
    <p>best regards!<br>
    </p>
    <div class="moz-cite-prefix">On 08.06.19 14:47, Steven Truppe wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:5775872a-8d71-77a5-bcb3-2b667f4472c3@gmx.at">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <p>Hi everyone,</p>
      <p>I've troubles with ExternalProject_Add:</p>
      <p> when i do build the library  manualy (clone the repo and build
        it with mkdir build;cd build; cmake
        -DCMAKE_BUILD_TYPE:String=Release -DGLAD_INSTALL=ON
        -DCMAKE_INSTALL_PREFIX=/home/stuv/glad_examples) it does work
        and i've the installation at /home/stuv/glad_examples. <br>
      </p>
      <p><br>
      </p>
      <p>But the external project add seems to miss an argument because
        he doesn't install anything.</p>
      <p>Here the code of ExternalProject_Add:</p>
      <pre>ExternalProject_Add(external_glad
        PREFIX ${CMAKE_BINARY_DIR}/glad
        GIT_REPOSITORY ${GLAD_REPO}
        GIT_TAG ${GLAD_TAG}
        GIT_PROGRESS true
        GIT_SHALLOW True
        SOURCE_DIR ${CMAKE_BINARY_DIR}/glad-src
        INSTALL_DIR ${CMAKE_BINARY_DIR}/glad-download
        CMAKE_ARGS -DCMAKE_BUILD_TYPE:String=${CMAKE_BUILD_TYPE} -DGLAD_INSTALL=ON -DCMAKE_INSTALL_PREFIX=${OUTPUT_PATH}/glad</pre>
      <pre>)</pre>
      <p>I hope someone here does see my problem.</p>
      <p><br>
      </p>
      <p>best regards!<br>
      </p>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
    </blockquote>
  </body>
</html>