Fix for cmake-2.6.

This commit is contained in:
Laurent Rineau 2008-09-24 15:59:59 +00:00
parent 0c7637dece
commit 3476df25a9
1 changed files with 2 additions and 2 deletions

View File

@ -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)