From 3476df25a9180840de4bd53de1cb0e050eb07160 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Wed, 24 Sep 2008 15:59:59 +0000 Subject: [PATCH] Fix for cmake-2.6. --- CGALimageIO/demo/CGALimageIO/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CGALimageIO/demo/CGALimageIO/CMakeLists.txt b/CGALimageIO/demo/CGALimageIO/CMakeLists.txt index 00a237d49e2..5d65ff452fc 100644 --- a/CGALimageIO/demo/CGALimageIO/CMakeLists.txt +++ b/CGALimageIO/demo/CGALimageIO/CMakeLists.txt @@ -54,8 +54,8 @@ if(VTK_FOUND AND WITH_VTK) else(QT_FOUND) message(STATUS "NOTICE: This demo needs Qt, and will not be compiled.") endif(QT_FOUND) -else(VTK_FOUND) +else(VTK_FOUND AND WITH_VTK) message(STATUS "NOTICE: This demo needs VTK, and will not be compiled.") -endif(VTK_FOUND) +endif(VTK_FOUND AND WITH_VTK)