From e8b04456ae7692f452f6a6b32555efa1afb66216 Mon Sep 17 00:00:00 2001 From: Baruch Even Date: Mon, 24 Oct 2016 09:31:20 +0300 Subject: [PATCH] Add ldc2 to the auto-detection of the compiler Closes issue #12 --- cmake-d/CMakeDetermineDCompiler.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake-d/CMakeDetermineDCompiler.cmake b/cmake-d/CMakeDetermineDCompiler.cmake index 19f9957..1d5decc 100644 --- a/cmake-d/CMakeDetermineDCompiler.cmake +++ b/cmake-d/CMakeDetermineDCompiler.cmake @@ -44,7 +44,7 @@ if(NOT CMAKE_D_COMPILER) if(CMAKE_D_COMPILER_INIT) set(CMAKE_D_COMPILER_LIST ${CMAKE_D_COMPILER_INIT}) else() - set(CMAKE_D_COMPILER_LIST ${_CMAKE_TOOLCHAIN_PREFIX}gdc ${_CMAKE_TOOLCHAIN_PREFIX}dmd) + set(CMAKE_D_COMPILER_LIST ${_CMAKE_TOOLCHAIN_PREFIX}gdc ${_CMAKE_TOOLCHAIN_PREFIX}dmd ${_CMAKE_TOOLCHAIN_PREFIX}ldc2) endif() # Find the compiler.