comparison cmake/FindD.cmake @ 403:8564ab82ea42

merge
author Eldar Insafutdinov
date Thu, 17 Mar 2011 19:46:11 +0000
parents e67ce7c21758 827147052d8d
children 4189f1d51a7d
comparison
equal deleted inserted replaced
402:e67ce7c21758 403:8564ab82ea42
42 endif(is_gdc) 42 endif(is_gdc)
43 endif(is_ldc) 43 endif(is_ldc)
44 endif(dmd_version) 44 endif(dmd_version)
45 message(STATUS "D compiler found -- ${D_COMPILER_NAME} v${D_VERSION}.${D_FRONTEND}") 45 message(STATUS "D compiler found -- ${D_COMPILER_NAME} v${D_VERSION}.${D_FRONTEND}")
46 else (DC) 46 else (DC)
47 message(FATAL_ERROR "D compliler is not found") 47 message(FATAL_ERROR "D compiler is not found")
48 endif (DC) 48 endif (DC)
49 49
50 ## Get D compiler path. 50 ## Get D compiler path.
51 get_filename_component(DC_PATH ${DC} PATH) 51 get_filename_component(DC_PATH ${DC} PATH)
52 if("${DC_PATH}" STREQUAL "") 52 if("${DC_PATH}" STREQUAL "")