From: schaerer Date: Thu, 16 Sep 2010 08:38:15 +0000 (+0000) Subject: support for spaces in file names X-Git-Tag: v1.2.0~391 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=636a51ece8cce85f9f8f4bd55a8b05a497ba6cdc;p=clitk.git support for spaces in file names --- 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)