<div dir="ltr">Hi Zovastra, <div><br></div><div style>Does this happen doing a clean built ?</div><div><br></div><div style>Note that for convenience, I just updated commontk/QtTesting master with the Paraview QtTesting repo [1]</div>

<div style><br></div><div style>Could you try using:</div><div style> </div><div style>git://<a href="http://github.com/commontk/QtTesting.git">github.com/commontk/QtTesting.git</a><br></div><div style><br></div><div style>

 and </div><div style><br></div><div style> e59b11d9062c9aa747817daa9417016d6e1ae1be</div><div style><br></div><div style><br></div><div style>Hth</div><div style>Jc</div><div style><br></div><div style>[1] <a href="http://paraview.org/gitweb?p=QtTesting.git">http://paraview.org/gitweb?p=QtTesting.git</a></div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 17, 2013 at 4:41 AM, Zovastra Attah <span dir="ltr"><<a href="mailto:Zovastra.Attah@creatis.insa-lyon.fr" target="_blank">Zovastra.Attah@creatis.insa-lyon.fr</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello ,<br>
  I am struggling with a problem,<br>
I fork  the CTK qttesting repository and  I made some  change .<br>
<br>
In the configuration step, I  put   CTK_APP_ctkQtTesting    on,<br>
And in, CTK/CmakeExternal/QtTesting.cmake, I make some changes<br>
<br>
 if(CTK_SUPERBUILD)<br>
<br>
    if(NOT DEFINED QtTesting_DIR)<br>
<br>
       #set(revision_tag 7dbef1003157941e7315220f53cf4e17d78b5e28)<br>
<br>
<br>
<br>
      if(${proj}_REVISION_TAG)<br>
        set(revision_tag ${${proj}_REVISION_TAG})<br>
      endif()<br>
<br>
      set(location_args )<br>
      if(${proj}_URL)<br>
        set(location_args URL ${${proj}_URL})<br>
      elseif(${proj}_GIT_REPOSITORY)<br>
        set(location_args GIT_REPOSITORY ${${proj}_GIT_REPOSITORY}<br>
                         # GIT_TAG ${revision_tag}<br>
                          )<br>
      else()<br>
        set(location_args GIT_REPOSITORY<br>
"${git_protocol}://<a href="http://github.com/zoat2/QtTesting.git" target="_blank">github.com/zoat2/QtTesting.git</a>"<br>
                         #GIT_TAG ${revision_tag}<br>
                         )<br>
      endif()<br>
<br>
      # Set CMake OSX variable to pass down the external project<br>
<br>
<br>
<br>
And the error is :<br>
<br>
<br>
<br>
<br>
[ 78%] Performing configure step for 'CTK-Configure'<br>
-- Generated: /test-CTK/CTK-superbuild/CTK-build/DGraphInput-alldep.txt<br>
-- Generated:<br>
/test-CTK/CTK-superbuild/CTK-build/DGraphInput-alldep-withext.txt<br>
-- Generated: /test-CTK/CTK-superbuild/CTK-build/DGraphInput.txt<br>
-- Generated: /test-CTK/CTK-superbuild/CTK-build/Project.xml<br>
-- CTKCore: BFD support disabled<br>
CMake Error at<br>
/test-CTK/CTK-superbuild/QtTesting-build/QtTestingExports.cmake:16<br>
(ADD_LIBRARY):<br>
  add_library cannot create imported target "QtTesting" because another<br>
  target with the same name already exists.<br>
Call Stack (most recent call first):<br>
  /home/administrateur/Bureau/CTK-superbuild/QtTesting-build/QtTestingConfig.cmake:9<br>
(include)<br>
  Libs/Widgets/CMakeLists.txt:13 (find_package)<br>
<br>
<br>
CMake Error at /CTK-superbuild/QtTesting-build/QtTestingExports.cmake:16<br>
(ADD_LIBRARY):<br>
  add_library cannot create imported target "QtTesting" because another<br>
  target with the same name already exists.<br>
Call Stack (most recent call first):<br>
  /CTK-superbuild/QtTesting-build/QtTestingConfig.cmake:9 (include)<br>
  Libs/Visualization/VTK/Widgets/CMakeLists.txt:13 (find_package)<br>
<br>
<br>
/CTK-superbuild/QtTesting-build/QtTestingExports.cmake:16 (ADD_LIBRARY):<br>
  add_library cannot create imported target "QtTesting" because another<br>
  target with the same name already exists.<br>
Call Stack (most recent call first):<br>
  /CTK-superbuild/QtTesting-build/QtTestingConfig.cmake:9 (include)<br>
  Libs/QtTesting/CMakeLists.txt:6 (find_package)<br>
<br>
<br>
/CTK-superbuild/QtTesting-build/QtTestingExports.cmake:16 (ADD_LIBRARY):<br>
  add_library cannot create imported target "QtTesting" because another<br>
  target with the same name already exists.<br>
Call Stack (most recent call first):<br>
  /CTK-superbuild/QtTesting-build/QtTestingConfig.cmake:9 (include)<br>
  Applications/ctkQtTesting/CMakeLists.txt:6 (find_package)<br>
<br>
<br>
-- Configuring incomplete, errors occurred!<br>
make[2]: ***<br>
[CTK-Configure-prefix/src/CTK-Configure-stamp/CTK-Configure-configure]<br>
Erreur 1<br>
make[1]: *** [CMakeFiles/CTK-Configure.dir/all] Erreur 2<br>
make: *** [all] Erreur 2<br>
It trying to call ADD_LIBRARY for target that already exist.<br>
<br>
 Any help would be appreciated<br>
                                                                    zovastra<br>
<br>
_______________________________________________<br>
Ctk-developers mailing list<br>
<a href="mailto:Ctk-developers@commontk.org">Ctk-developers@commontk.org</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>+1 919 869 8849<br>
</div>