<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Le 06/04/2022 à 18:06, Javier Jimenez
      Shaw a écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CADRrdKtFsrsSMUn9O4dTMXS2-qu-o9atqz49y+LREsLwQ7yYxA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>Something like</div>
        <div><br>
        </div>
        <div>
          <div><span style="font-family:monospace">option(BUILD_PYTHON_BINDINGS
              "Build Python bindings" ON)</span></div>
          <div><span style="font-family:monospace">if
              (BUILD_PYTHON_BINDINGS)<br>
            </span></div>
          <div><span style="font-family:monospace">  if
              (Python_LOOKUP_VERSION)<br>
                  set(Python_FIND_STRATEGY VERSION)<br>
                  find_package(Python ${Python_LOOKUP_VERSION} EXACT
              COMPONENTS Interpreter Development NumPy)<br>
                else ()<br>
                  set(Python_FIND_STRATEGY LOCATION)<br>
                  find_package(Python 3.6 COMPONENTS Interpreter
              Development NumPy)<br>
                endif ()</span></div>
          <div><span style="font-family:monospace">endif ()</span></div>
          <div><span style="font-family:monospace"></span></div>
        </div>
        <div>
          <div>
            <div dir="ltr" class="gmail_signature"
              data-smartmail="gmail_signature"><br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    yes<br>
    <blockquote type="cite"
cite="mid:CADRrdKtFsrsSMUn9O4dTMXS2-qu-o9atqz49y+LREsLwQ7yYxA@mail.gmail.com">
      <div dir="ltr">
        <div>
          <div>
            <div class="gmail_signature"
              data-smartmail="gmail_signature">Do I do the PR into
              master or into v3.5.0alpha1 ?<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    master. (v3.5.0alpha1 is just a tag, not a branch)<br>
    <blockquote type="cite"
cite="mid:CADRrdKtFsrsSMUn9O4dTMXS2-qu-o9atqz49y+LREsLwQ7yYxA@mail.gmail.com">
      <div dir="ltr">
        <div>
          <div>
            <div dir="ltr" class="gmail_signature"
              data-smartmail="gmail_signature">.___ ._ ..._ .. . ._. 
              .___ .. __ . _. . __..  ... .... ._ .__<br>
              Entre dos pensamientos racionales <br>
              hay infinitos pensamientos irracionales.<br>
              <br>
            </div>
          </div>
          <br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Wed, 6 Apr 2022 at 17:47,
          Even Rouault <<a href="mailto:even.rouault@spatialys.com"
            moz-do-not-send="true" class="moz-txt-link-freetext">even.rouault@spatialys.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div> <br>
            <blockquote type="cite">
              <div dir="ltr">
                <div>But maybe there is a better solution.</div>
                <div>If that is Ok for you, I can create a PR.</div>
              </div>
            </blockquote>
            sounds good, but also move the "<span>option</span>(<span>BUILD_PYTHON_BINDINGS</span>
            <span>"Build Python bindings"</span> <span>ON</span>)" from
            swig/CMakeLists.txt to top CMakeLists.txt, just before
            testing it<br>
            <blockquote type="cite"> </blockquote>
            <pre cols="72">-- 
<a href="http://www.spatialys.com" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
  </body>
</html>