Fix #17: Fix compile search order
This commit is contained in:
parent
086b5c86c9
commit
2f3f6b1b07
1 changed files with 1 additions and 1 deletions
|
@ -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 ${_CMAKE_TOOLCHAIN_PREFIX}ldc2)
|
||||
set(CMAKE_D_COMPILER_LIST ${_CMAKE_TOOLCHAIN_PREFIX}dmd ${_CMAKE_TOOLCHAIN_PREFIX}ldc2 ${_CMAKE_TOOLCHAIN_PREFIX}gdc)
|
||||
endif()
|
||||
|
||||
# Find the compiler.
|
||||
|
|
Loading…
Reference in a new issue