Mercurial > projects > qtd
comparison cmake/FindD.cmake @ 401:827147052d8d
Corrected typo in CMake error message, fixes #68.
author | David Nadlinger <code@klickverbot.at> |
---|---|
date | Thu, 17 Mar 2011 19:11:40 +0100 |
parents | d2f48c4cb3e3 |
children | 8564ab82ea42 |
comparison
equal
deleted
inserted
replaced
400:a81c53f7b83b | 401:827147052d8d |
---|---|
36 message(FATAL_ERROR "D compiler is not found") | 36 message(FATAL_ERROR "D compiler is not found") |
37 endif(is_ldc) | 37 endif(is_ldc) |
38 endif(dmd_version) | 38 endif(dmd_version) |
39 message(STATUS "D compiler found -- ${D_COMPILER_NAME} v${D_VERSION}.${D_FRONTEND}") | 39 message(STATUS "D compiler found -- ${D_COMPILER_NAME} v${D_VERSION}.${D_FRONTEND}") |
40 else (DC) | 40 else (DC) |
41 message(FATAL_ERROR "D compliler is not found") | 41 message(FATAL_ERROR "D compiler is not found") |
42 endif (DC) | 42 endif (DC) |
43 | 43 |
44 ## Get D compiler path. | 44 ## Get D compiler path. |
45 get_filename_component(DC_PATH ${DC} PATH) | 45 get_filename_component(DC_PATH ${DC} PATH) |
46 if("${DC_PATH}" STREQUAL "") | 46 if("${DC_PATH}" STREQUAL "") |