Browse Source

BUG: Updated ExternlProject.cmake / generation of <project>-gitclone.cmake

In <Project>-gitclone.cmake, error message were displayed using single quote, change
it to use double quote. That error message will be displayer with spaces.
Jean-Christophe Fillion-Robin 15 years ago
parent
commit
29d486afc8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      CMake/ExternalProject.cmake

+ 1 - 1
CMake/ExternalProject.cmake

@@ -719,7 +719,7 @@ execute_process(
   RESULT_VARIABLE error_code
   RESULT_VARIABLE error_code
   )
   )
 if(error_code)
 if(error_code)
-  message(FATAL_ERROR 'Failed to clone repository: ${git_repository}')
+  message(FATAL_ERROR \"Failed to clone repository: ${git_repository}\")
 endif()
 endif()
 ")    
 ")    
     set(comment "Performing download step (GIT clone) for '${name}'")
     set(comment "Performing download step (GIT clone) for '${name}'")