Merge pull request #13 from baruch/patch-1
Add ldc2 to the auto-detection of the compiler
This commit is contained in:
commit
997264855b
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ if(NOT CMAKE_D_COMPILER)
|
||||||
if(CMAKE_D_COMPILER_INIT)
|
if(CMAKE_D_COMPILER_INIT)
|
||||||
set(CMAKE_D_COMPILER_LIST ${CMAKE_D_COMPILER_INIT})
|
set(CMAKE_D_COMPILER_LIST ${CMAKE_D_COMPILER_INIT})
|
||||||
else()
|
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()
|
endif()
|
||||||
|
|
||||||
# Find the compiler.
|
# Find the compiler.
|
||||||
|
|
Loading…
Reference in a new issue