Explorar el Código

COMP: ctkMacroValidateBuildOptions - Display project name in error message

Jean-Christophe Fillion-Robin hace 15 años
padre
commit
e212eaa17f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      CMake/ctkMacroValidateBuildOptions.cmake

+ 1 - 1
CMake/ctkMacroValidateBuildOptions.cmake

@@ -123,7 +123,7 @@ MACRO(ctkMacroValidateBuildOptions dir executable target_directories)
         OUTPUT_STRIP_TRAILING_WHITESPACE
         )
       IF(RESULT_VAR)
-        MESSAGE(FATAL_ERROR "Failed to obtain dependence path of ${subir}.\n${RESULT_VAR}\n${CTK_BINARY_DIR}\n${error}")
+        MESSAGE(FATAL_ERROR "Failed to obtain dependence path of ${target_project_name}.\n${RESULT_VAR}\n${CTK_BINARY_DIR}\n${error}")
       ENDIF()
 
       # Convert 'dep_path' to a list