From 636a51ece8cce85f9f8f4bd55a8b05a497ba6cdc Mon Sep 17 00:00:00 2001 From: schaerer Date: Thu, 16 Sep 2010 08:38:15 +0000 Subject: [PATCH] support for spaces in file names --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4ccd497..0221e50 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,7 +16,7 @@ INCLUDE(cmake/common.cmake) # Find ITK (required) FIND_PACKAGE(ITK) IF(ITK_FOUND) - INCLUDE(${ITK_USE_FILE}) + INCLUDE("${ITK_USE_FILE}") ELSE(ITK_FOUND) MESSAGE(FATAL_ERROR "Cannot build without ITK. Please set ITK_DIR.") @@ -27,7 +27,7 @@ ENDIF(ITK_FOUND) # Find VTK (required) FIND_PACKAGE(VTK REQUIRED) IF(VTK_FOUND) - INCLUDE(${VTK_USE_FILE}) + INCLUDE("${VTK_USE_FILE}") ELSE(VTK_FOUND) MESSAGE(FATAL_ERROR "Please set VTK_DIR.") ENDIF(VTK_FOUND) -- 2.47.1