<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi!<br>
      <br>
      I was told that it's not a bug
      <a class="moz-txt-link-freetext" href="http://public.kitware.com/Bug/view.php?id=13588">http://public.kitware.com/Bug/view.php?id=13588</a> <br>
      <br>
      17.10.2012 14:04, Amine Chadly &#1087;&#1080;&#1096;&#1077;&#1090;:<br>
    </div>
    <blockquote
cite="mid:CA+560mAXpkb=3WSfuqJ2yf4ihm48hLX0+j+DJ1aUTGU8ySS4nQ@mail.gmail.com"
      type="cite">
      <div>Hi !</div>
      <div><br>
      </div>
      Your problem does look like a bug,
      <div><br>
        <div>Which version of CMake are you using ?</div>
        <div><br>
        </div>
        <div>Where do you set the do_scoring variables ? Is it in a
          higher CMakeLists.txt ?</div>
        <div>Are you sure that the Release configuration that you used
          is not considered as one of the&nbsp;<b
style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:11.199999809265137px;line-height:22px;text-align:justify;background-color:rgb(255,255,255)"><code>DEBUG_CONFIGURATIONS
              ?</code></b></div>
        <div><br>
        </div>
        <div>Kind regards,<br>
          <br>
          <div class="gmail_quote">On Sun, Oct 14, 2012 at 8:59 PM,
            Vyacheslav Karamov <span dir="ltr">&lt;<a
                moz-do-not-send="true" href="mailto:vkaramov@yandex.ru"
                target="_blank">vkaramov@yandex.ru</a>&gt;</span> wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All!<br>
              <br>
              I've found annoying bug in Cmake 2.8.8 for Linux. I tried
              to submit it to Cmake bug tracker, but I couldn't
              register.<br>
              <br>
              My target which is dynamic library, uses some static libs:<br>
              <br>
              target_link_libraries(${lib_name}<br>
              debug ${do_scoring_debug}<br>
              optimized ${do_scoring}<br>
              )<br>
              <br>
              When I tried to build Release configuration of my library,
              build fails because do_scoring_debug == NOTFOUND at that
              time.<br>
              It seems strange to me, because linker doesn't need
              *Debug* version of ${do_scoring} when building *Release*
              version of target.<br>
              <br>
              I've found workaraound<br>
              <br>
              if (NOT do_scoring_debug)<br>
              set (do_scoring_debug do_scoring)<br>
              endif()<br>
              <br>
              but it seems to strange why should I need it.<br>
              <br>
              ___<br>
              WBR,<br>
              Vyacheslav Karamov.<br>
              --<br>
              <br>
              Powered by <a moz-do-not-send="true"
                href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
              <br>
              Visit other Kitware open-source projects at <a
                moz-do-not-send="true"
                href="http://www.kitware.com/opensource/opensource.html"
                target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
              <br>
              Please keep messages on-topic and check the CMake FAQ at:
              <a moz-do-not-send="true"
                href="http://www.cmake.org/Wiki/CMake_FAQ"
                target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
              <br>
              Follow this link to subscribe/unsubscribe:<br>
              <a moz-do-not-send="true"
                href="http://www.cmake.org/mailman/listinfo/cmake"
                target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
            </blockquote>
          </div>
          <br>
          <br clear="all">
          <div><br>
          </div>
          -- <br>
          &nbsp; Amine<br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">--

Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the CMake FAQ at: <a class="moz-txt-link-freetext" href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a>

Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a></pre>
    </blockquote>
    <br>
  </body>
</html>