From: Eduardo Davila Date: Fri, 21 Mar 2008 11:02:31 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: r0.6.1~101 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=d961821a6bbd56f62f1441bcd338e4c0d2d75d3e;p=bbtk.git *** empty log message *** --- diff --git a/kernel/install/CMakeLists.txt b/kernel/install/CMakeLists.txt index ba7d6d7..1a9fe2b 100644 --- a/kernel/install/CMakeLists.txt +++ b/kernel/install/CMakeLists.txt @@ -50,16 +50,18 @@ IF(WIN32) -# ????????? Why this line doesn't works ...????? -FILE(GLOB_RECURSE LST_FILE_VTKDLL RELATIVE ${VTK_DIR} *.dll ) - -FOREACH( iLST ${LST_FILE_VTKDLL} ) -message("eed3 " ${iLST} ) - INSTALL( - FILES ${iLST} - DESTINATION bin/ - ) -ENDFOREACH(iLST) + # ????????? Why this line doesn't works ...????? + IF(${VTK_DIR}) + FILE(GLOB_RECURSE LST_FILE_VTKDLL RELATIVE ${VTK_DIR} *.dll ) + ENDIF(${VTK_DIR}) + + FOREACH( iLST ${LST_FILE_VTKDLL} ) + message("eed3 " ${iLST} ) + INSTALL( + FILES ${iLST} + DESTINATION bin/ + ) + ENDFOREACH(iLST) ENDIF(WIN32)